问题
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");
回答1:
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>
来源:https://stackoverflow.com/questions/1873215/flowplayer-not-working-on-firefox