Windows Media Player
I am currently using this html for a web site, this is the html for windows media player. The problem is when applied to a web site, even with windows media player plugin installed it cannot be seen. here is the html.
<OBJECT height="119" width="600" align=absmiddle classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" name="wmtPlayer" style="filter:red() alpha(style=2 opacity=100 finishOpacity=25 startx=0 starty=0 finishX=100 finishY=100) invert()"> <PARAM NAME="URL" VALUE="http://69.175.13.130:8320/"> <PARAM NAME="rate" VALUE="1"> <PARAM NAME="balance" VALUE="0"> <PARAM NAME="currentPosition" VALUE="0"> <PARAM NAME="defaultFrame" VALUE=""> <PARAM NAME="playCount" VALUE="3"> <PARAM NAME="autoStart" VALUE="-1"> <PARAM NAME="currentMarker" VALUE="0"> <PARAM NAME="invokeURLs" VALUE="-1"> <PARAM NAME="baseURL" VALUE=""> <PARAM NAME="volume" VALUE="50"> <PARAM NAME="mute" VALUE="0"> <PARAM NAME="uiMode" VALUE="full"> <PARAM NAME="stretchToFit" VALUE="-1"> <PARAM NAME="windowlessVideo" VALUE="0"> <PARAM NAME="enabled" VALUE="-1"> <PARAM NAME="enableContextMenu" VALUE="-1"> <PARAM NAME="fullScreen" VALUE="0"> <PARAM NAME="SAMIStyle" VALUE="full"> <PARAM NAME="SAMILang" VALUE=""> <PARAM NAME="SAMIFilename" VALUE=""> <PARAM NAME="enableErrorDialogs" VALUE="0"> <PARAM NAME="_cx" VALUE="5424"> <PARAM NAME="_cy" VALUE="7091"> </OBJECT>
Can you help?
Geändert am
Alle Antworten (3)
Firefox ignores any <object> that includes a classid="CLSID:..." attribute. That is a references to the Windows registry, and isn't cross-platform compatible.
You can change your <object> to use a type attribute that invokes Windows Media Player, or you can use the old hack of nesting an <embed> inside the <object> (very common with Flash).
So for example:
<object height="119" width="600" align=absmiddle type="application/x-mplayer2" data="http://69.175.13.130:8320/" name="wmtplayer" style="filter:red() alpha(style=2 opacity=100 finishopacity=25 startx=0 starty=0 finishx=100 finishy=100) invert()">
<param name="src" value="http://69.175.13.130:8320/">
<param name="url" value="http://69.175.13.130:8320/">
<param name="rate" value="1">
<param name="balance" value="0">
<param name="currentposition" value="0">
<param name="defaultframe" value="">
<param name="playcount" value="3">
<param name="autostart" value="-1">
<param name="currentmarker" value="0">
<param name="invokeurls" value="-1">
<param name="baseurl" value="">
<param name="volume" value="50">
<param name="mute" value="0">
<param name="uimode" value="full">
<param name="stretchtofit" value="-1">
<param name="windowlessvideo" value="0">
<param name="enabled" value="-1">
<param name="enablecontextmenu" value="-1">
<param name="fullscreen" value="0">
<param name="samistyle" value="full">
<param name="samilang" value="">
<param name="samifilename" value="">
<param name="enableerrordialogs" value="0">
<param name="_cx" value="5424">
<param name="_cy" value="7091">
</object>
This is not to say that all those params work on Firefox, because it uses a different plugin than the ActiveX control used in IE, but it's a start.
This forum focuses on end-user support. You can find more web development help on the mozillaZine Web Development board. Separate forum, separate registration. Please note the tips in the Sticky Post at the top of the forum before posting.
1. Install plugin for Windows Media Player normally, from this link: http://port25.technet.com/pages/windows-media-player-firefox-plugin-download.aspx 2. Go to program files in windows 7 click on computer/hard disk drive/program files (x86)/Mozilla firefox/ 3. Copy folder plugin 4. Open Firefox 5. Click on help/troubleshooting/information/ 6. In the list under Application Basics find Profile Directory 7. Click on (open containing folder) 8. Paste plugin folder. 9. Close Firefox. 10. Restart Fire fox then visit a site with embedded videos. It will work.
Geändert am
Okay everything works on the browser now, this was very helpfull tyvm, now the current issue that I am having is, because of microsofts lack of intergration with H264 , mp4 and AAC+ COMPRESSION, until windows 7, those using windows XP and Vista, cannot hear a AAC Broadcast, from this player, from what I understand there is a conversion that can be embeded to change an AAC broadcast to a mp3 broadcast invoked by the player? so anyone can hear what is being played by the player, has anyone heard of such a thing?
Geändert am