flowplayer not working on firefox

krishna picture krishna · Dec 9, 2009 · Viewed 11.4k times · Source

Iam using flowplayer to embed an flv file in a page. It works just fine in IE8,Chrome and Opera, but firefox refuses to show anything. There is just blank space where the file is supposed to be. Is this a known issue ?

Flowplayer version : 3.1.4 Firefox version : 3.5.5 Firefox extensions : Java Quick starter,RealPlayer Browser record plugin.

js code:

flowplayer("flvContent", "flowplayer-3.1.5.swf", "somefile.flv");

Answer

krishna picture krishna · Dec 10, 2009

Figured out the problem. The div in which the file was to be embedded did not have height and width specified earlier, when the height and width were added it's works on firefox as well.

Earlier markup:

<div id="flvContent"></div>

Modified markup:

<div id="flvContent" style="width:80%;height:300px;"></div>