Video stalling on chrome
Description
Briefly describe the issue. Video seems to stall after a few seconds on chrome. Works fine in FF and IE
Steps to reproduce
Explain in detail the exact steps necessary to reproduce the issue.
- Load the test case
- Click the play button 3.
Results
Video stalls mid way
Expected
Video should play all the way through the end
Actual
Video stalls mid way
Error output
If there are any errors at all, please include them here.
Additional Information
Please include any additional information necessary here. Including the following:
versions
videojs
latest
browsers
chrome
OSes
windows
plugins
none
Below is the test case: videotest.html.txt
👋 Thanks for opening your first issue here! 👋
If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can. To help make it easier for us to investigate your issue, please follow the contributing guidelines.
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>videojs-contrib-hls embed</title>
<link href="https://unpkg.com/video.js/dist/video-js.css" rel="stylesheet">
</head>
<body>
<h1>Video.js Example Embed</h1>
<video-js id="my_video_1" class="vjs-default-skin" controls preload="auto" width="640" height="268">
<source src="http://wowza.montessorirx.com:1935/vod/smil:06Order_1Mb.smil/playlist.m3u8" type="application/x-mpegURL">
</video-js>
<script src="https://unpkg.com/video.js/dist/video.js"></script>
<script src="https://unpkg.com/@videojs/http-streaming/dist/videojs-http-streaming.js"></script>
<script>
var player = videojs('my_video_1');
</script>
</body>
</html>
This is super weird. I can confirm that it works in Firefox and Safari but not in Chrome. I've also reproduced this behavior with Shaka player and hls.js.
I have the same issue....
- Video is stalling on Chrome for the first segment.
- If I click "Replay" I have the same lags on the beginning.
- If I change the time manually to 0:00 and click "play" I don't have lags at all!
It happens only when I load the video first time or click "replay" Doesn't happen on Firefox
This is likely related to our detection of non-idr keyframes: https://github.com/videojs/mux.js/issues/237.
Not sure i understand. Is there a configuration setting i can use to change this behavior?
The quick answer is that to get it working, you'll likely have to retranscode or wait till we have time to fix the linked issue.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.