流水游戏不工作在Firefox [英] flowplayer not working on firefox

查看:229
本文介绍了流水游戏不工作在Firefox的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Iam使用流式播放器在页面中嵌入一个flv文件。它在IE8,Chrome和Opera中工作得很好,但Firefox拒绝显示任何东西。文件应该是空白的。这是一个已知的问题 ? 流行游戏版本:3.1.4
Firefox版本:3.5.5
Firefox扩展:Java快速入门,RealPlayer浏览器记录插件。



js代码:

  flowplayer(flvContent,flowplayer-3.1。 5.swf,somefile.flv); 


解决方案

找出问题所在。
嵌入文件的div没有前面指定的高度和宽度,当添加高度和宽度时,它也适用于firefox。



 < div id =flvContent>< / div> 

修改标记:

 < div id =flvContentstyle =width:80%; height:300px;>< / div> 


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");

解决方案

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>

这篇关于流水游戏不工作在Firefox的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆