HTMLMediaElement can't seek buffered media resources unless they support HTTP Range requests
Reported by
therealb...@gmail.com,
Sep 29
|
|||
Issue descriptionUserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.62 Safari/537.36 Steps to reproduce the problem: Here's a test case showing the same audio file served from two different locations, one supporting HTTP Range Requests, one not. Even once the audio files are fully buffered in the browser, seeking fails for the resource without Range Request response headers (the second audio element). https://jsfiddle.net/83ekwg6v/5/ What is the expected behavior? Seeking should work fine if the resource is buffered. Per the HTML spec section covering media seeking (https://wicg.github.io/controls-list/html-output/multipage/embedded-content.html#seeking): "User agents should adopt a very liberal and optimistic view of what is seekable." What went wrong? I expect to be able to seek a media resource if the content is buffered. This works without hiccups in Firefox and Edge (I didn't test any other browsers). Did this work before? N/A Does this work in other browsers? Yes Chrome version: 67.0.3396.62 Channel: stable OS Version: Elementary v4.13-0-43.generic Flash Version:
,
Sep 30
,
Oct 17
Able to reproduce the issue on Mac 10.13.3, Win-10 and Ubuntu 14.04 using chrome stable version #68.0.3440.106 and latest canary #72.0.3582.0. This is a non-regression issue as it is observed from M60 old builds. Hence, marking it as untriaged to get more inputs from dev team. Thanks...!!
,
Dec 17
Version 73.0.3642.0 (Official Build) canary (64-bit) win 10 "Local Overrides" is also affected by this issue. "Local Overrides": Enabled .seekable 0,0 .buffered 0,40 ============================================= HTTP/1.1 200 OK Date: Mon, 17 Dec 2018 17:42:30 GMT Server: Chrome Devtools Request Interceptor Connection: closed Content-Length: 11684887 Content-Type: video/mp4 --------------------------------------------- "Local Overrides": Disabled .seekable 0,40 .buffered 0,40 ============================================= HTTP/1.1 206 Partial Content Server: nginx/1.8.0 Date: Mon, 17 Dec 2018 17:49:49 GMT Content-Type: video/mp4 Last-Modified: Sun, 16 Dec 2018 15:37:43 GMT Connection: keep-alive ETag: "5c167147-b24c17" Content-Range: bytes 0-11684886/11684887 Content-Length: 11684887 --------------------------------------------- |
|||
►
Sign in to add a comment |
|||
Comment 1 by therealb...@gmail.com
, Sep 29