HTML Audio/Video DOMseekingProperty

HTML audio/video 标签参考手册HTML Audio/Video DOM Reference

Example

Shows whether the user is currently seeking in the video:

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

Try it Yourself »

Definition and Usage

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

Seeking refers to the user moving/jumping to a new position in 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. Returns true if the user is seeking, otherwise false.


HTML audio/video 标签参考手册HTML Audio/Video DOM Reference Other Extensions