Windows Media Player SDK banner art
PreviousNext

Player.uiMode

The uiMode property specifies or retrieves a value indicating which controls are shown in the user interface when Windows Media Player is embedded in a Web page.

Syntax

player.uiMode

Possible Values

This property is a read/write String.

Value Description Audio example Video example
none Player is embedded without controls, and with only the video or visualization window displayed. uiMode="none" with audio uiMode="none" with video
mini Player is embedded with the status window, play/pause, stop, mute, and volume controls shown in addition to the video or visualization window. uiMode="mini" with audio uiMode="mini" with video
full Default. Player is embedded with the status window, seek bar, play/pause, stop, mute, next, previous, fast forward, fast reverse, and volume controls in addition to the video or visualization window. uiMode="full" with audio uiMode="full" with video

Remarks

This property specifies the appearance of the control panel portion of the embedded Windows Media Player. Regardless of this setting, a window is present for the display of video clips and audio visualizations. This window can be hidden in mini or full mode by specifying a height of 40 in the OBJECT tag, which is measured from the bottom, and leaves the controls portion of the user interface visible. If no embedded interface is desired, set both width and height to zero.

If the window is visible and audio content is being played, the visualization displayed will be the one most recently used in Windows Media Player.

See Also

PreviousNext


© 2000-2001 Microsoft Corporation. All rights reserved.