![]() |
Previous | Next |
This is the core object for the Windows Media Player control. All other related objects are connected to this object through specific properties which return the object. For example, the Settings object is accessed through the settings property and uses the syntax player.settings.volume
, where player is the ID value you set in the OBJECT tag. The Player object contains methods, properties and events that relate to the core functionality of Windows Media Player.
Because this reference is also to be used for skins programming, the ID of the Player object will be "player" for syntactical examples.
Using the player global attribute within a skin definition file gives access to the Player object for use in scripting. Through the Player object, all other objects in the Windows Media Player control become accessible to scripts as well. The events of the Player object and the URL property can also be specified at design time using the PLAYER skin element. For more information, see Windows Media Player Skins.
Previous | Next |