Handling HTML5 Video for iOS and Safari clients
dridi at varni.sh
Thu Sep 7 15:35:01 UTC 2017
On Thu, Sep 7, 2017 at 5:10 PM, <info+varnish at shee.org> wrote:
> Safari loads the file (progress bar shows up) and autoplays it directly:
> Connecting through varnish with return(pass):
> Safari starts to loading the file, progressbar does not shows any progress and video does not get autoplayed:
It might be a known bug when browsers ask for multiple ranges in a
single request, Varnish may serve the first one, disregard the rest
and think it is done, so that leaves the browser hanging waiting for
the rest of the response.
I think it you can work around that in VCL by detecting when you have
more than one range and return a 416 response.
More information about the varnish-misc