Share via


Windows Media Player 11 SDK Adding a Playlist 

Windows Media Player SDK banner art

Previous Next

Adding a Playlist

You can use playlists to choose from collections of your audio and video.

Using the artwork from your first skin, you can make a few changes to the skin definition file.

The first step is to use the shell you will use for most skins:

  

Now add a second VIEW, which contains a playlist. Place the following code after the </VIEW> of the shell code.

  

You will need to give this second view an ID so you can refer to it later. Add a PLAYELEMENT and a STOPELEMENT. These predefined buttons make life easier.

  

Finally, add an onClick event to the PLAYELEMENT to display a playlist in the second view:

  

You can see a similar working playlist skin in the sample section of the SDK.

See Also

Previous Next