majnun
asked on
Setting windows media object to width and height="0" shrinks player to a single pixel, not completely hidden.
Heres the code:
<OBJECT ID="Player" height="0" width="0"
CLASSID="CLSID:22d6f312-b0 f6-11d0-94 ab-0080c74 c7e95"
CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"
STANDBY="Loading Microsoft Windows Media Player components..."
TYPE="application/x-oleobj ect">
<PARAM name="autoStart" value="True">
<PARAM name="volume" value="100">
<PARAM name="uiMode" value="invisible">
</OBJECT>
But for some reason it just shrinks the player down to a single white pixel. I notice it because my background is black. And I can even right click on the pixel to pull up the players context menu.
How to i completely hide the player?
Thanks in advance!
<OBJECT ID="Player" height="0" width="0"
CLASSID="CLSID:22d6f312-b0
CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"
STANDBY="Loading Microsoft Windows Media Player components..."
TYPE="application/x-oleobj
<PARAM name="autoStart" value="True">
<PARAM name="volume" value="100">
<PARAM name="uiMode" value="invisible">
</OBJECT>
But for some reason it just shrinks the player down to a single white pixel. I notice it because my background is black. And I can even right click on the pixel to pull up the players context menu.
How to i completely hide the player?
Thanks in advance!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You can also add the following to the OBJECT tag: style="display: none". Like this:
<OBJECT ID="Player" style="display: none" height="0" width="0"
<OBJECT ID="Player" style="display: none" height="0" width="0"
ASKER
Thanks!
Your welcome majnun, glad to help and thanks for the Grade
Regards
Scott
Regards
Scott
<PARAM name="ShowControls" value="0">
<PARAM name="ShowDisplay" value="0">
<PARAM name="ShowStatusBar" value="0">
I am trying to find a good reference regards these parameters for you as microsofts
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmplay/mmp_sdk/paramtags.asp
doesnt seem to mention these
Scott