我有一个很棒的回声系统和.FLV文件,需要播放它,但我的播放器不起作用。
<script src="mediaelement/build/mediaelement-and-player.min.js"></script>
<link rel="stylesheet" href="mediaelement/build/mediaelementplayer.min.css" />
<video width="640" height="480" id="player2" poster="myposters/flv-video-poster.jpg" controls="controls" preload="none">
<object width="640" height="480" type="application/x-shockwave-flash" data="mediaelement/build/flashmediaelement.swf">
<param name="movie" value="mediaelement/build/flashmediaelement.swf" />
<param name="flashvars" value="controls=true&poster=myposters/flv-video-poster.jpg&file=medias/my-video-flv.flv" />
<!-- Image fall back for non-HTML5 browser with JavaScript turned off and no Flash player installed -->
<img src="myposters/flv-video-poster.jpg" width="640" height="480" alt="Here we are" title="No video playback capabilities" />
</object>
</video>
我在Chrome,Firefox和Internet Explorer 10,9中测试过它并且无法正常工作......在IE 7和8上它崩溃了...浏览器重新启动......
答案 0 :(得分:0)
现在正在运作:
我已经关注这个帖子,现在它正在运行:Mediaelement.js malfunction in IE, no flashback works,IE8(浏览器崩溃)除外。
在IE9和IE10中 - Works HTML5 在IE 7中 - Works Fallback SWF 在IE 8中 - 浏览器崩溃
对我来说很好,因为它是一个私人应用程序,只会使用谷歌浏览器或野生动物园。如果任何客户需要使用IE,将使用9或更高版本。
谢谢大家