1

ビデオ js をダウンロードし、ソースをローカル ビデオに変更しました。ie と waterfox では動作しますが、クロムでは動作しません。ホームページのビデオは、再生せずに継続的にロードされます。しかし、他のブラウザでは問題ありませんでした。これを修正するにはどうすればよいですか

これが私のコードです

<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 -->

4

0 に答える 0