共用方式為


Windows Media Player Object Model

[The feature associated with this page, Windows Media Player SDK, is a legacy feature. It has been superseded by MediaPlayer. MediaPlayer has been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer instead of Windows Media Player SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The Microsoft Windows Media Player ActiveX control object model provides interfaces that let developers add Windows Media Player and Windows Media Player Mobile functionality to webpages and other programs. The Windows Media Player ActiveX control object model documentation is presented in the following sections.

Note

The Windows Media Player Mobile ActiveX control is based on the Windows Media Player ActiveX control and therefore utilizes the same object model. So, unless otherwise noted, any documentation about embedding the Windows Media Player ActiveX control in a webpage or an application is also applicable to the Windows Media Player Mobile ActiveX control.

 

Section Description
About the Player Object Model Discusses the architecture of the object model in abstract terms.
Player Control Guide Provides information about using the control in a variety of programming scenarios, including using the control in .NET Framework applications.
Windows Media Player Object Model Reference Provides reference pages for script, C++, and .NET interfaces to the Windows Media Player ActiveX control. Also provides documentation for enumeration types and media attributes.

 

Windows Media Player SDK