Looks like the buffered ranges have discontinuities when seeking (you'll need to switch your dev tools to the iframe to run the code below, see https://developer.mozilla.org/en-US/docs/Tools/Working_with_iframes). If I let the video play through and run the following in the console ``` { let buffered = $('video').buffered; for (let i = 0; i < buffered.length; i++) {console.log(`Range: ${buffered.start(i)} - ${buffered.end(i)}`);} } ``` I get `Range: 0.003 - 30.544` If I seek I see results like ``` Range: 0.003 - 25.604 Range: 29.87 - 30.544 ``` so we're getting discontinuities. I can get the same result in Chromium based browsers if I jump forward then scrub back: ``` Range: 0 - 8.528 Range: 25.594 - 30.036 ``` Not sure exactly why, but I suspect this is a case where the JS is not handling all the different buffering contingencies.
Bug 1707846 Comment 3 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Looks like the buffered ranges have discontinuities when seeking (you'll need to switch your dev tools to the iframe to run the code below, see https://developer.mozilla.org/en-US/docs/Tools/Working_with_iframes). If I let the video play through and run the following in the console ``` { let buffered = $('video').buffered; for (let i = 0; i < buffered.length; i++) {console.log(`Range: ${buffered.start(i)} - ${buffered.end(i)}`);} } ``` I get `Range: 0.003 - 30.544` If I seek I see results like ``` Range: 0.003 - 25.604 Range: 29.87 - 30.544 ``` so we're getting discontinuities. I can get the same result in Chromium based browsers if I jump forward then scrub back: ``` Range: 0 - 8.528 Range: 25.594 - 30.036 ``` Edit: for clarificaiton, I also see Chroiume stall in some of these cases. Depending on where I scroll to it may load the next segment, but it will also get stuck at times. Not sure exactly why, but I suspect this is a case where the JS is not handling all the different buffering contingencies.
Looks like the buffered ranges have discontinuities when seeking (you'll need to switch your dev tools to the iframe to run the code below, see https://developer.mozilla.org/en-US/docs/Tools/Working_with_iframes). If I let the video play through and run the following in the console ``` { let buffered = $('video').buffered; for (let i = 0; i < buffered.length; i++) {console.log(`Range: ${buffered.start(i)} - ${buffered.end(i)}`);} } ``` I get `Range: 0.003 - 30.544` If I seek I see results like ``` Range: 0.003 - 25.604 Range: 29.87 - 30.544 ``` so we're getting discontinuities. I can get the same result in Chromium based browsers if I jump forward then scrub back: ``` Range: 0 - 8.528 Range: 25.594 - 30.036 ``` Edit: for clarificaiton, I also see Chromium stall in some of these cases. Depending on where I scroll to it may load the next segment, but it will also get stuck at times. Not sure exactly why, but I suspect this is a case where the JS is not handling all the different buffering contingencies.