Quantcast
Channel: Active questions tagged javascript - Stack Overflow
Viewing all articles
Browse latest Browse all 138134

About videojs-contrib-hls , can not load next segment?

$
0
0

I have a problem when I use video.js and videojs-contrib-hls.

The problem is my player can not load next segment when I using 2 lib above and run it on Chrome.

Demo:

var waitingTimer = null;
var linkPlay = "https://ca15.vieon.vn/ott-vod-201902/co-vo-sac-sao-thuyet-minh-2018-s01-ep06-audio-tm/hls/playlist.m3u8";

var currPlayer = videojs("my_video_1");

currPlayer.src({src: linkPlay,type:"application/x-mpegurl"});
currPlayer.play();
<link href="https://vjs.zencdn.net/7.6.5/video-js.css" rel="stylesheet">
<script src='https://vjs.zencdn.net/7.6.5/video.js'></script>


<video 
  id="my_video_1" 
  class="video-js vjs-default-skin" 
  controls preload="auto" width="640" height="268"

>
    </video>

But this issue doesn't fire on my friends computer. We use Win 10/ Chrome: Version 78.0.3904.70 (Official Build) (64-bit)

I saw the different on player on 2 Chromes / 2 devices

Error player

enter image description here

Ok player

enter image description here

Please tell me why and How can I resolve it ? Thanks advance for your help!


Viewing all articles
Browse latest Browse all 138134

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>