Video seekingProperty

Video 对象参考手册Video Object

Examples

Shows whether the user is currently seeking in the video:

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

xThe output value is:

Seeking: true

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.

Note:This property is read-only.


Browser Support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers support the seekable property.

Note:Internet Explorer 8 or earlier versions of IE do not support this property.


Syntax

videoObject.seeking

Technical Details

Return Value: A Boolean value, true if the user is currently seeking; otherwise false.


Video 对象参考手册Video Object Other Extensions