Issue metadata
Sign in to add a comment
|
html5 video loop create request each iteration
Reported by
yanko.pe...@gmail.com,
Jan 11 2017
|
||||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:50.0) Gecko/20100101 Firefox/50.0 Steps to reproduce the problem: Open website with html5 video with loop attribute <video loop>...</video> More info http://stackoverflow.com/questions/36420929/why-html5-video-loop-create-request-each-iteration What is the expected behavior? What went wrong? New request is made every time the video start new iteration. http://stackoverflow.com/questions/36420929/why-html5-video-loop-create-request-each-iteration Did this work before? Yes Chrome version: 55.0.2883.95 (64-bit) Channel: n/a OS Version: OS X 10.12 Flash Version: Shockwave Flash 23.0 r0
,
Jan 11 2017
,
Jan 13 2017
In your stackoverflow question you can see that the subsequent requests are getting a 304 (Not Modified) status response. So this is a caching issue. Can you provide a network trace? See https://sites.google.com/a/chromium.org/dev/for-testers/providing-network-details Likely this is a cache freshness issue. That you are indicating the video's lifetime is something expired or something that must be re-validated.
,
Jan 13 2017
Unfortunately can't find the commit with the video and can't test it again, but dglazarov demo is working fine, without making new requests. Maybe my test was on some previous version and didn't notice the update.
,
Jan 13 2017
Reporter can't reproduce and can't provide a network trace and the issue works correctly in a example dglazarov wrote.
,
Feb 27 2017
It looks like this bug is back. Please see the example and attached screenshot below. "Disable Cache" is unchecked but the video is downloaded over and over. https://jsfiddle.net/abidCharlotte49er/qdw41j1j/
,
Feb 27 2017
This issue is noticed on 56.0.2924.87 and 57.0.2987.74 beta (64-bit) Versions.
,
Mar 3 2017
I am pretty sure that the issue is with the file size. The small video (less than 5MB) file plays without re-download. Is it intended?
,
Mar 7 2017
I am finding the same. Videos over 5mb send out partial content requests on loops. I am on version 56.0.2924.87. This is a costly issue as a website left open can rack up 100s of gigs worth of video requests. Is there any solution?
,
Mar 12 2017
That is my testing site after 35 minutes… Chrome 56.0.2924.87 (MacOS). I can not provide a link, it will probably ruin my hosting :( Honestly with this bug I can't publish my site to production. Anyway the bug is reproducible (for me) on https://www.strv.com
,
Mar 12 2017
I have updated to ver 57.0.2987.98 and I have my video under 5mb, and it is still requesting the video every loop (206) BUT it is at least pulling from disk cache now and no longer pulling from server. Can anyone else comment on if it works with videos over 5mb on ver 57.0 +
,
Mar 13 2017
Nick, Here is one example with 22 MB video. In 57.0.2987.98 beta (64-bit) I can confirm if it requesting from disk cache. Is this fix applies to other media like images too? https://jsfiddle.net/abidCharlotte49er/qdw41j1j/
,
Mar 15 2017
Great! It was re-downloading every loop in 56.0.2924.87 (64bit), but after upgrading Chrome to 57.0.2987.98 (64bit) no more re-downloading! ('from disk cache' in every loop).
,
Nov 29 2017
I have the same problem with a newer version of Chromium. My app is build in a framework (EmberJS). It keeps requesting the same video even when redirected to another page (it's gone from DOM but still requesting (already resolved)). Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.79 Safari/537.36 Video specs: - 00:00:17 - 64.1 MB - 4K - Disable Cache is unchecked |
|||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||
Comment 1 by dglazkov@chromium.org
, Jan 11 2017