Latest web development tutorials

HTML DOM Audio seeking property

Audio Object Reference Audio Object

Examples

Audio shows if the user is addressing:

var x = document.getElementById("myAudio");
document.getElementById("mySpan").innerHTML=("Seeking: " + x.seeking);

x output values:

Seeking: true

try it"

Definition and Usage

Property Returns whether the user is currently seeking to address in the audio.

Addressing (Seeking) refers to the user in the mobile audio / jump to a new location.

Note: This property is read-only attribute.


Browser Support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers support seeking property.

Note: Internet Explorer 8 or earlier browser does not support this property.


grammar

audioObject .seeking

technical details

return value: A Boolean value that, if the user is addressing, was true. Otherwise, false.


Audio Object Reference Audio Object