This API lets MediaSource apps more effectively customize the HTMLMediaElement.seekable range logic by providing (or removing) a single seekable range that is union'ed with the current buffered ranges to result in a single seekable range which fits both, when media duration is infinite.
Demo
Documentation
Specification
Status in Chromium
Enabled by default (tracking bug) in:
- Chrome for desktop release 62
- Chrome for Android release 62
- Android WebView release 62
Consensus & Standardization
After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.
- In development
- Positive
- No signal
- Positive
Owner
Search tags
MSE, MediaSource, seekable, live, setLiveSeekableRange, clearLiveSeekableRange, liveseekablerange,Last updated on 2020-11-09
Comments
The spec change was kept simple to not break existing HTMLMediaElement behavior for seekable. New behavior occurs only if the new {set,clear}LiveSeekableRanges API is used on the MediaSource attached to that HTMLMediaElement and the media duration is positive infinity.