视频兼容IE8浏览器(IE8标准文档模式)

春秋为何没冬夏 发布于 2017/02/14 15:53
阅读 408
收藏 0
IE

        <link rel="stylesheet" type="text/css" href="css/video-js.min.css" />
        <script type="text/javascript" src="js/jquery.min.js"></script>
        <script type="text/javascript" src="js/video.min.js"></script>
        <script src="http://vjs.zencdn.net/ie8/1.1.2/videojs-ie8.min.js"></script>
        <script>
            videojs.options.flash.swf = "js/video-js.swf";
        </script>

<div class="video">
  <video id="example_video_1" class="video-js vjs-default-skin" controls preload="none" width="867" height="436" poster="http://video-js.zencoder.com/oceans-clip.png" data-setup="{}">
        <source src="http://vjs.zencdn.net/v/oceans.mp4" type='video/mp4' />
        <source src="http://vjs.zencdn.net/v/oceans.webm" type='video/webm' />
        <source src="http://vjs.zencdn.net/v/oceans.ogv" type='video/ogg' />
  <track kind="captions" src="demo.captions.vtt" srclang="en" label="English"></track><!-- Tracks need an ending tag thanks to IE9 -->
  <track kind="subtitles" src="demo.captions.vtt" srclang="en" label="English"></track><!-- Tracks need an ending tag thanks to IE9 -->
       </video>
</div>

加载中
返回顶部
顶部