HTML Audio/Video DOM seeking Property
❮ HTML Audio/Video DOM Reference
Example
Show if the user is currently seeking in the video:
var vid = document.getElementById("myVideo");
document.getElementById("mySpan").innerHTML = "Seeking: " + vid.seeking;
Try it Yourself »
Definition and Usage
The seeking property returns whether the user is currently seeking in the audio/video.
Seeking is when you move/skip to a new position in the audio/video.
Note: This property is read-only.
Browser Support
The numbers in the table specify the first browser version that fully supports the property.
Property | |||||
---|---|---|---|---|---|
seeking | Yes | 9.0 | 3.5 | Yes | Yes |
Syntax
audio|video.seeking
Return Value
Type | Description |
---|---|
Boolean | A Boolean, returns true if the user is currently seeking, otherwise it returns false |
❮ HTML Audio/Video DOM Reference