Share via


Button Functions

[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.]

You will want to provide the user with buttons to control the selection and playback of media items. Using the appropriate buttons, you can play, pause, or stop the media item, move to different items in the playlist, mute the sound, or provide information about the media item that is playing.

You do not need to provide all button functions in your skin, but the best user experience will probably include at least the PlayPause, Stop, or PlayPauseStop, Prev, and Next button functions.

The following button functions are available:

  • Play
  • Pause
  • Stop
  • Prev
  • Next
  • Shuffle
  • Info
  • RepeatPlaylist
  • Mute
  • PlayPause
  • FullScreen
  • WindowsMedia*
  • PlayPauseStop*
  • VolumeUp*
  • VolumeDown*

*Available for Windows Media Player 10 Mobile or later.

For more information about button functions, see the Buttons section of the Skin Reference.

Windows Media Player Mobile Functionality