Answer the question
In order to leave comments, you need to log in
HTML5 video not playing until fully loaded + 4k video test
Good time of the day.
During the development of one project, a problem arose: HTML5 video does not start playing until the file is completely downloaded, and after a successful download, it immediately rewinds to the end without playing. If you rewind the video closer to the beginning (after the full download), then it plays normally.
The bug does not appear on all files and not in all browsers, but once manifested, it remains and does not disappear. Clearing the cache/profile doesn't help.
I made a test page to test the bug. The first video plays fine, the others don't. MD5 for downloaded files is fine.
Request: if possible, test and unsubscribe (you can in a personal) whether it worked or not; if not, how exactly. I can’t test so completely myself, and there are no testers. the project is done by a small team and not to order.
If formulated as a question (Q&A), then: does it work for you? Are there any ideas about the reason for this behaviour?
Everything can be tested. ) Files are distributed from a separately written (not library) HTTP server and at first there were suspicions that the problem might be in incomplete adherence to some standard, but the bug remains when Apache distributes statics.
PS
I posted a 4k video on the test page. It would be interesting to know how slow it is, on average, and how ready we are for 4k.
Answer the question
In order to leave comments, you need to log in
In 4k, everything rests on hdd, whoever does not have ssd will slow down.
Let's count.
Let's take, for simplicity, one of the standards , in which the width and height of the video is exactly twice that of Full-HD (a little more in width).
Resolution - 3996 × 2160 .
Number of pixels = 3996 * 2160 =
8631360 12 bits per pixel, total:
8,631,360 * 12 = 103,576,320 bits = 12,947,040 bytes = 12.347 MB - about the amount one frame takes.
And now let's count at, at least, 30 frames per second - 370 MB per second . Not every drive can pull this.
Regarding the question - everything plays from the beginning and immediately. Win 8 x64. Chrome 26.0.1410.64m
My playback starts right away.
4k slows down, but my system is rather weak for such a video
firefox - everything except 4K is played from the start without brakes. macbook pro core two duo
I looked at ipade 2 (ios6)
All videos are played except 4k (the play button is crossed out). I'm not sure that pad 2 can be 4k...
Well, for some reason the block with the video looks strange: it's 100px high, while it is stretched to full screen in width (1000px). It turns out such wide vertical stripes.
Ubuntu 12.04
Crome 26.0.1410.63
Everything plays fine, from the very beginning (4k slows down, but this is due to hardware)
Firefox 19.0.2: First video works, others don't. Selecting quality doesn't work either. And the regulators are not displayed.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question