HTML Audio/Video DOM seekable Property
Example
var vid = document.getElementById("myVideo");
function myFunction() {
alert("Start: " + vid.seekable.start(0) + " End: " + vid.seekable.end(0));
}
Meaning
The seekable property returns a TimeRanges object representing the seekable parts of the audio/video.
Note: The first seekable range is index 0.
Standard Syntax
audio|video.seekable
Advertisement
Return Value
| Type | Description |
|---|---|
| TimeRanges Object | Returns the seekable parts of the audio/video.
TimeRanges Object Properties:
|