Share via


Windows Media Player 11 SDK VIDEO.backgroundColor 

Windows Media Player SDK banner art

Previous Next

VIDEO.backgroundColor

The backgroundColor attribute specifies or retrieves the background color of the Video control.

Syntax

  

Possible Values

This attribute is a read/write String containing any Microsoft Internet Explorer color value or the value "none". It has a default value of "none", which means that if there is no video associated with the video control, the Video control is transparent and the background shows through.

Remarks

When the video is smaller than the window and stretchToFit is false, the background color appears around the video.

Requirements

Windows Media Player version 7.0 or later.

See Also

Previous Next