flowplayer not working on firefox

旧巷老猫 提交于 2019-12-10 15:17:02

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!