Reputation: 889
I am doing a bunch of HTML5 video tests, trying to get the videos playing/streaming as fast as possible. For the most part, they start immediately on Safari and FireFox, however they take much longer on Google Chrome. I thought it was something in my code, but then I tried the direct video link and got the same results. From an empty cache, Safari and Firefox start just about instantly. Chrome is taking a full 30-40 seconds, which is obviously way too long. Am I missing something here? Here is the video link I'm testing: https://www.nlm.nih.gov/web/documentation/TemplateDocumentation/video_files/IN_Intro-800.mp4
Upvotes: 1
Views: 1443
Reputation: 21
I get near-instant playback in chrome. Below are 3 screenshots below (well, now links; can't embed images due to reputation requirements).
Chrome Dev Tool's media tool events showing timing for events relevant to the media player; its nascence to the end of video, information/properties of the player, and information/properties of the video track itself.
Do you have any custom settings in Chrome (pertaining to video decoding or video media in general) that are notably different from what you have set for Safari and/ or Firefox?
Additionally if you've enabled flags related to experimental javascript, HTML elements, and/ or video decoding/ encoding, you might want to audit such settings. Other things like plugins, (Chrome) apps, etc. might have an effect.
Listed below are good places to have a look at in general:
chrome://version/
chrome://flags/
chrome://extensions/
chrome://about/
If you could provide an info regarding your build of Chrome, that would help a lot. I'm assuming this isn't related to your code because you've mentioned requesting the video asset directly in browser via the URL as hosted at www.nlm.nih.gov but if you've decided/discovered otherwise, any info regarding that would be good too.
Upvotes: 2