Microsoft KB Archive/308491

= Cannot Hide Embedded Windows Media Player Control in Windows XP =

Article ID: 308491

Article Last Modified on 1/31/2007

-

APPLIES TO


 * Microsoft Windows Media Player 8.01
 * Microsoft Windows Media Player 8.01

-



This article was previously published under Q308491



SYMPTOMS
An embedded-Windows Media Player control may remain visible on your Windows XP-based computer when you try to hide the HTML frame by resizing the height and width to 0.



RESOLUTION
To hide the embedded-Windows Media Player control on a Windows XP-based computer:
 * 1) Enable the video mixing renderer in Windows Media Player. To do so, click Options on the Tools menu, click the Performance tab, and then click Advanced. Click to select the Use video mixing renderer check box, click OK, and then click OK.
 * 2) Set the zindex (stacking order) for the frame element to a higher value than the embedded player control element.
 * 3) Set the windowlessvideo property in the player control to true (1).



STATUS
This behavior is by design.



MORE INFORMATION
The z-index specifies in what order elements should be drawn when two or more elements occupy the same area. Setting the z-index is useful whenever you have absolutely or relatively positioned elements that overlap other elements in the document.

Set the z-index by using the z-index attribute. Setting this to a positive value causes the element to be stacked on top of other elements, and negative values cause it to be stacked below.

In general, all elements are windowless and will participate in z-order overlapping. However, some objects are windowed. ActiveX Controls that have not been specifically written to be windowless will not overlap with other objects. iframe elements represent a window object, and window objects do not participate in z-order. Another exception in Microsoft Internet Explorer 4.0 is the select element.

Additional query words: vmr

Keywords: kbui kbprb KB308491

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.