Media Source Extensionswindow_and_dedicated
The setLiveSeekableRange() method of the
MediaSource interface sets the range that the user can seek to in the
media element.
Syntax
setLiveSeekableRange(start, end)
Parameters
start- : The start of the seekable range to set in seconds measured from the beginning of the source. If the duration of the media source is positive infinity, then the TimeRanges object returned by the HTMLMediaElement.seekable property will have a start timestamp no greater than this value.
end- : The end of the seekable range to set in seconds measured from the beginning of the source. If the duration of the media source is positive infinity, then the TimeRanges object returned by the HTMLMediaElement.seekable property will have an end timestamp no less than this value.
Return value
None (undefined).
Examples
// TBD
Specifications
Browser compatibility
来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。
