Media streaming issues with Chrome
See original GitHub issueHey mate, I’ve been running into a couple issues with how Chrome handles media (audio/video):
-
Without the response header
Content-Length
, checkingmedia.duration
returnsInfinity
. -
Without serving the requested chunk (
Content-Range
), changingmedia.currentTime
just makes the file play from the beginning (as the whole file is returned).
In comparison, Firefox has neither issue.
I recall reading about this a long time ago, and found it weird how Chrome kept re-downloading the video assets with experiences that involve changing the currentTime, but I’m not sure how best to work streaming into Servor. Any ideas/thoughts?
Cheers.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Fix videos & games that won't play - Google Chrome Help
Fix videos & games that won't play · Step 1: Turn on JavaScript · Step 2: Check your extensions, plugins, cache & cookies...
Read more >Videos Not Playing on Chrome: Fix It with 10 Methods
Part 2: How to Fix Videos Not Playing on Chrome · 1. Enable Flash Player: · 2. Clear Cookies and Cache: · 3....
Read more >How to Fix Embedded Videos Not Playing in Google Chrome
The first thing to try is disabling hardware acceleration in Chrome's Advanced Settings to fix the problem. You can get to Settings from...
Read more >12 Ways to Fix the "The Media Could Not Be Loaded" Error in ...
Are videos not loading up in Google Chrome? Use these 12 troubleshooting steps to find the culprit and fix playback issues.
Read more >How to Fix: Chrome not Playing Videos Online? - BrowserHow
Restart Computer System · Update Google Chrome · Clear cookies and cache · Enable JavaScript · Reset your Chrome browser · Bottom Line:...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have a modified version of it - I just threw the main file up here for you to check!
Thanks 🙇 this will speed things up a lot but not 100% sure exactly when I will get around to implementing. Will leave this issue open in case anyone else wants to tackle it!