New issue
Advanced search Search tips

Issue 680063 link

Starred by 4 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Jan 2017
Components:
EstimatedDays: ----
NextAction: 2017-01-18
OS: Mac
Pri: 2
Type: Bug-Regression


Show other hotlists

Hotlists containing this issue:
Hotlist-1


Sign in to add a comment

html5 video loop create request each iteration

Reported by yanko.pe...@gmail.com, Jan 11 2017

Issue description

UserAgent: 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
 
I am unable to reproduce. I put together this simple test case: 

http://output.jsbin.com/dururibami

I don't see the problem that you're observing on 57.0.2970.0 (Official Build) dev (64-bit). Could you help me get this right?
Labels: Needs-Feedback
NextAction: 2017-01-18
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.
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.
Labels: -Needs-Feedback
Status: WontFix (was: Unconfirmed)
Reporter can't reproduce and can't provide a network trace and the issue works correctly in a example dglazarov wrote.


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/

ChromeVideoLoop.png
171 KB View Download
This issue is noticed on 56.0.2924.87 and 57.0.2987.74 beta (64-bit) Versions. 
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?
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?

 

Comment 10 Deleted

Comment 11 by colt...@gmail.com, 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 
chrome-video-loop.png
191 KB View Download
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 +
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/

Comment 14 Deleted

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).

Comment 16 by drie...@gmail.com, 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

chrome_video_request_loop.PNG
38.4 KB View Download

Sign in to add a comment