Customizing the User Interface

There are a small number of items that can be customized to change how the user sees the Windows Media Player control. These are:

  • Displaying or hiding all controls with the ShowControls property.
  • Displaying or hiding the skip ahead, skip back, fast forward, and fast reverse controls with the ShowPositionControls property.
  • Displaying or hiding the status bar with the ShowStatusBar property.
  • Changing the display size using the DisplaySize property. This property changes the size that the video is played back and also changes the size of the whole control. Changing this property allows you to scale the video to one of several predefined size or scaling ratios.
  • Displaying the mute button (speaker icon) and volume slider control with the ShowAudioControls property.
  • Showing or hiding the Tracker bar with the ShowTracker property.

To completely hide the user interface and the ability to re-enable it through a script, the following registry key must be set.

HKEY_LOCAL_MACHINE\Software\Microsoft\MediaPlayer\Control "CustomUI"=dword:1

See Also

Windows Media Player Control

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.