This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The setLiveSeekableRange()
method of the MediaSource
interface sets the range that the user can seek to in the media element.
mediaSource.setLiveSeekableRange(start, end)
TimeRanges
object returned by the HTMLMediaElement.seekable
property will have a start timestamp no greater than this value.TimeRanges
object returned by the HTMLMediaElement.seekable
property will have an end timestamp no less than this value.// TBD
Specification | Status | Comment |
---|---|---|
Media Source Extensions The definition of 'setLiveSeekableRange()' in that specification. | Recommendation | Initial definition. |
Desktop | ||||||
---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | |
Basic support | 62 | No | No | No | 49 | No |
Mobile | |||||||
---|---|---|---|---|---|---|---|
Android webview | Chrome for Android | Edge Mobile | Firefox for Android | Opera for Android | iOS Safari | Samsung Internet | |
Basic support | 62 | 62 | ? | ? | 49 | ? | No |
© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/MediaSource/setLiveSeekableRange