Writing Code
[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 real power of skins comes from being able to respond to events. You want your skin to be able to do something when the user clicks on a button, and you will also want to respond to changes that happen to Windows Media Player, such as the progress of the digital media file or stream that is playing.
The following sections discuss writing code for skins:
Section | Description |
---|---|
Handling Events | Explains how to handle events in skin code. |
Using JScript | Explains how to write script code in skins. |
Related topics