FlowPlayer and IE
FlowPlayer and IE
刚刚设置FlowPlayer在一个新的web应用程序上播放一些视频,我正在工作。在Safari (iPad)中工作得很好,但是,似乎我在IE中没有得到任何音频。
代码:<div id="videoContainer" style="display: none; text-align: center;">
<a id="player2" style="display:block; margin:0px auto; width:600px; height:400px"></a>
</div>
和JS:
var player2 = document.getElementById("player2");
player2.href = "http://server/Media/" + videoName;
$f(player2, "http://releases.flowplayer.org/swf/flowplayer-3.2.7.swf", {
clip: {
autoPlay: true
}
});
视频可以播放,但是没有音频。
任何想法?
谢谢。
可能是浏览器没有安装正确的编解码器?
不知道我是否理解你的问题,但是:也许问题是自动播放选项时,父标签是隐藏的?当您显示#videoContainer标签时,尝试手动执行play()函数。
相关文章:
- 为什么这在IE中的工作方式与在Firefox中不同
- 后焦点更改为IE 11中的地址栏,而不是转移到表单中的下一个控件
- 如何在读取XLS/XLSX本地文件时,使用IE的javascript代码启用未标记为安全的ActiveX控件
- jQuery blueimp文件上传:将N-1个文件上传到IE中的服务器
- Selenium WebDriver and JavaScript change
- 有没有一种方法可以在控制台关闭的情况下让console.log()在IE中记录消息
- Livequery and DOMNodeInserted replacement for IE
- window.location.hash,IE,Back and Forward:地址栏中的值更改,但不在DOM中更改
- contentEditable and lastChild IE, Firefox & Chrome LastC
- IE 7 jquery bind and $(this)
- Prevent fouc in firefox and ie
- document.head.appendChild(element) ie ie7 and ie8
- Windows Phone 7 and IE DOM Performance
- onClick event and IE
- Flot Charts and IE 11?
- Window.open () and target="_blank"不能在IE中一起工作
- JavaScript: IE 11 and MS Edge override CTRL+P
- Angularjs / expressjs - sessions and IE
- FlowPlayer and IE
- IE iframe and unicode text