Share via


Windows Media Player 11 SDK Working with the Player 

Windows Media Player SDK banner art

Previous Next

Working with the Player

When using Microsoft JScript to access methods and properties of Windows Media Player, you must use the name "player" for the name of the control. For example, to reference the Stop method, you must type:

player.Controls.Stop()

The player global attribute is the key to accessing the Windows Media Player control through skin scripting. Through this attribute, all the objects of the Windows Media Player control become accessible for run-time modification through their properties and methods. Additionally, the PLAYER element is available in order to specify event handlers and the url attribute at design time.

See Also

Previous Next