我下载了视频js并将源码更改为我的本地视频,它可以工作在ie和waterfox但不在Chrome中它不断加载..我使用mp4和ogv作为视频类型我注意到这个问题,当我去视频js网站。主页视频连续加载而不播放。但它与其他浏览器一样好,我如何解决这个问题
这是我的代码
<html>
<head>
<title>Video.js | HTML5 Video Player</title>
<!-- Chang URLs to wherever Video.js files will be hosted -->
<link href="video-js.css" rel="stylesheet" type="text/css">
<!-- video.js must be in the <head> for older IEs to work. -->
<script src="video.js"></script>
<!-- Unless using the CDN hosted version, update the URL to the Flash SWF -->
<script>
videojs.options.flash.swf = "video-js.swf";
</script>
</head>
<body>
data-setup="{}">
<source src="videos/video.mp4" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"' </source>
<source src="videos/video.ogv" type='video/ogg; codecs="theora, vorbis"'></source>
<track kind="captions" src="demo.captions.vtt" srclang="en" label="English"></track><!-- Tracks need an ending tag thanks to IE9 -->