Audio seeking attribute
Example
Show whether the user is seeking within the audio:
var x = document.getElementById("myAudio");
document.getElementById("mySpan").innerHTML=("Seeking: " + x.seeking);
x Output value:
Seeking: true
Try it »
Definition and Usage
The seeking attribute returns whether the user is currently seeking within the audio.
Seeking refers to the user moving or jumping to a new position within the audio.
Note: This attribute is read-only.
Browser support





All major browsers support the seeking attribute.
**Note:** Internet Explorer 8 or earlier browsers do not support this property.
Syntax
audioObject
.seeking
Technical Details
| Return Value: | Boolean. true if the user is seeking, otherwise false. |
|---|
Audio object