github:https://github.com/videojs/videojs-contrib-hls#getting-startedに従っています。また、How to play html5 video play m3U8 on mobile and desktop?のクロムにm3u8をストリーミングするための投稿に続きます。しかし、なぜこれが起こっていないのか理解できません。私は常に、メディアプレーヤーにエラーメッセージのソースが無効です。m3u8のh3m8のビデオsrcがChromeで再生されていません
<!DOCTYPE html>
<html>
<head>
<title>Video</title>
<meta charset="utf-8" />
<style>
body {
background: brown;
color: #CCCCCC;
}
</style>
<script src="video.js"></script>
<script src="videojs.hls.min.js"></script>
<script>
var player = videojs('example-video');
player.play();
</script>
</head>
<body>
<video id=example-video width=960 height=540 class="video-js vjs-default-skin" controls>
<source
src="http://esioslive6-i.akamaihd.net/hls/live/202874/AL_P_ESP1_INTER_ENG/playlist_1000.m3u8"
type="application/x-mpegURL">
</video>
</body>
</html>
ここはディレクトリです。そして、私はクロームコンソールから確認された場合も、私は解決が、失敗しようとしたエラーを発見し、ここで
https://github.com/videojs/videojs-contrib-hls/releases
からvideojs-contrib-hls
とvideojs- contrib-hls.min
をダウンロードしまし。 エラー:
Failed to load resource: net::ERR_FILE_NOT_FOUND
file:///C:/Users/MIC/Desktop/sss/videojs.hls.min.js Failed to load resource: net::ERR_FILE_NOT_FOUND
index.html:16 Uncaught ReferenceError: videojs is not defined
どこが間違っているのですか?