Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

HTML Audio/Video DOM seeking Property

HTML Audio/Video DOM seeking Property

HTML audio/video Tag Reference HTML Audio/Video DOM Reference

Example

Display whether the user is currently seeking in the video:

myVid=document.getElementById("video1");

document.getElementById("span1").innerHTML=("Seeking: " + myVid.seeking);

Try it »


Definition and Usage

The seeking property returns whether the user is currently seeking in the audio/video.

Seeking refers to the user moving or jumping to a new position within the audio/video.


Browser support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers partially support the seekable property.

**Note:** Internet Explorer 8 and earlier versions do not support this property.


Syntax

audio|video

.seeking

Return Value

Type Description
Boolean true|false. true if the user is seeking, otherwise false.

HTML audio/video Tag Reference HTML Audio/Video DOM Reference