THE WORLD'S LARGEST WEB DEVELOPER SITE

Audio seeking Property

❮ Audio Object

Example

Show if the user is currently seeking in the audio:

var x = document.getElementById("myAudio");
document.getElementById("mySpan").innerHTML = ("Seeking: " + x.seeking);
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

Property
seeking Yes Yes Yes Yes Yes

Syntax

audioObject.seeking

Technical Details

Return Value: A Boolean, returns true if the user is currently seeking, otherwise it returns false

❮ Audio Object