GameOn
11-06-2008, 12:34 AM
I am embedding a small wmv file in a website. It works on Windows for both Firefox and IE. It works on Mac OS 10 with Safari but I have a glitch when using Firefox on the Mac. It only shows a black box where the video should be. The controls do not show. If you click where the controls should be, you can get the video to play.
<object id="MediaPlayer" width=320 height=286 classid="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95" standby="Loading Windows Media Player components..." type="application/x-oleobject" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112">
<param name="filename" value="media/Foo.wmv">
<param name="autoStart" value="0">
<param name="ShowControls" value="1">
<param name="ShowAudioControls" value="1">
<embed type="application/x-mplayer2" src="media/Foo.wmv" name="MediaPlayer" width=320 height=286 autostart="0" ShowControls="1" ShowAudioControls="1"></embed>
</object>
<object id="MediaPlayer" width=320 height=286 classid="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95" standby="Loading Windows Media Player components..." type="application/x-oleobject" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112">
<param name="filename" value="media/Foo.wmv">
<param name="autoStart" value="0">
<param name="ShowControls" value="1">
<param name="ShowAudioControls" value="1">
<embed type="application/x-mplayer2" src="media/Foo.wmv" name="MediaPlayer" width=320 height=286 autostart="0" ShowControls="1" ShowAudioControls="1"></embed>
</object>