Audio seeking Property
Example
Show if the user is currently seeking in the audio:
var x = document.getElementById("myAudio");
document.getElementById("mySpan").innerHTML = ("Seeking:
" + x.seeking);
The result of x could be:
Seeking: true
Try it yourself »
Definition and Usage
The seeking property returns if the user is currently seeking in the audio.
Seeking is when you move/skip to a new position in the audio.
Note: This property is read-only.
Browser Support
The seeking property is supported in all major browsers.
Note: This property is not supported in Internet Explorer 8 and earlier.
Syntax
audioObject.seeking
Technical Details
Return Value: | A Boolean, returns true if the user is currently seeking, otherwise it returns false |
---|
Audio Object