THE WORLD'S LARGEST WEB DEVELOPER SITE

Audio seeking Property

Audio Object Reference 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);

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

Internet Explorer Firefox Opera Google Chrome Safari

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 Reference Audio Object

COLOR PICKER

colorpicker

SHARE THIS PAGE






Search w3schools.com:

Translate w3schools.com: