W3cubDocs

/DOM

HTMLMediaElement.seekable

The seekable read-only property of the HTMLMediaElement returns a TimeRanges object that contains the time ranges that the user is able to seek to, if any.

Syntax

var seekable = audioOrVideo.seekable;

Value

A TimeRanges object.

Examples

// TBD

Specifications

Specification Status Comment
HTML Living Standard
The definition of 'HTMLMediaElement' in that specification.
Living Standard No change from HTML5
HTML5
The definition of 'HTMLMediaElement' in that specification.
Recommendation Initial definition.
Media Source Extensions
The definition of 'HTMLMediaElement extensions, like for seekable' in that specification.
Recommendation Specifies a new algorithm for returning the seekable time range of a media element whose source is a MediaSource object.

Browser compatibilityUpdate compatibility data on GitHub

Desktop
Chrome Edge Firefox Internet Explorer Opera Safari
Basic support Yes Yes 8 9 ? ?
Mobile
Android webview Chrome for Android Edge Mobile Firefox for Android Opera for Android iOS Safari Samsung Internet
Basic support Yes Yes Yes 8 ? ? ?

See also

© 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/HTMLMediaElement/seekable