开发者

flowplayer not working on firefox

开发者 https://www.devze.com 2022-12-13 10:47 出处:网络
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 th

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开发者_如何学Python-3.1.5.swf", "somefile.flv");


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>
0

精彩评论

暂无评论...
验证码 换一张
取 消