IE7和flowplayer 5.2.0失败,显示“flash:找不到视频文件”

时间:2012-12-04 14:51:16

标签: flash audio video internet-explorer-7 flowplayer

我使用流动播放器在Firefox,谷歌浏览器,iPad3,IE9,IE8中播放电影和听音频没有问题。

但是IE7失败了:flash: Video file not found

我有 <head>

<link rel="stylesheet" type="text/css" href="/media/js/flowplayer/skin/minimalist.css" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript" src="/media/js/flowplayer/flowplayer.min.js"></script>
<script type="text/javascript">
flowplayer.conf.embed = false;
</script>

视频标记:

<div class="flowplayer" data-embed="false">
   <video preload="none">
      <source type="video/mp4" src="/video/test.mp4"/>
      <source type="video/ogg" src="/video/test.ogv"/>
      <source type="video/flash" src="/video/test.mp4"/>
   </video>
</div>
  • FLASH版本:11.5.502.110
  • 操作系统:Windows 7家庭高级版64位

1 个答案:

答案 0 :(得分:2)

似乎路径需要是完整的路径。这意味着

/video/test.mp4变为http://www.mydomain.com/video/test.mp4

<div class="flowplayer" data-embed="false">
   <video preload="none">
      <source type="video/mp4" src="http://www.mydomain.com/video/test.mp4"/>
      <source type="video/ogg" src="http://www.mydomain.com/video/test.ogv"/>
      <source type="video/flash" src="http://www.mydomain.com/video/test.mp4"/>
   </video>
</div>