View Full Version : WMP in firefox

03-13-2006, 04:23 PM

Sorry for my bad ingles

I have a problem puting windows media player in Firefox, this is the code im using

<object data="1866.wmv" type="video/x-ms-asf" height="370" width="400">
<param name="Filename" value="1866.wmv" />
<param name="ShowStatusBar" value="1" />
<param name="AutoStart" value="1" />
<param name="animationatStart" value="1" />
<param name="transparentatStart" value="1" />
<param name="showControls" value="1" />
<param name="stretchToFit" value="true" />
<param name="width" value="400" />
<param name="height" value="370" />
<embed type="application/x-mplayer2" pluginspage = "http://www.microsoft.com/Windows/MediaPlayer/" src="1866.wmv" align="middle" showstatusbar="1" animationatstart="1" showcontrols="1" autostart="1" transparentatstart="1" width="400" height="370"> </embed>

It works Ok, but the problem is that i what the video tho stretch to the size of my window so i use the comand "stretchToFit".
In IE it works ok but in firefox no :(



Why the comand "stretchToFit" dont work in firefox???

Sorry for the bad ingles.

03-13-2006, 04:28 PM
I don't know if this is the only problem, but you haven't even applied it to the <embed> element that Firefox will use.

05-18-2008, 06:42 AM
set windowlessVideo param to true, and stretchToFit will suddenly work in FF.

05-18-2008, 12:01 PM
I noticed that when I followed all the rules for FF to get it to use stretch to fit with MP, it worked for me, but not for a friend with FF (only stretched in one dimension for her). Also, the FF MP plug-in is sometimes used by other browsers (Safari, Opera - for example). When this happens the support is much less compliant than in FF (where, as noted already, it can be spotty).

My solution - since it was a video - was to give IE the higher quality .wmv if it could handle it (if it had the MP Active X v 7 or greater object), and all others were served a slightly lower quality .flv Flash version, or a notice that Flash would be required if they lacked Flash support.