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

HTML DOM Video seeking Property

Video seeking property

Video Object Reference The Video object

Example

Show whether the user is currently seeking within the video:

var x = document.getElementById("myVideo");

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

x Output value:

Seeking: true

Try it »


Definition and Usage

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

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

Note: This property is read-only.


Browser support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers support the seekable attribute.

**Note:** Internet Explorer 8 or earlier IE version browsers do not support this property.


Syntax

videoObject

.seeking

Technical Details

Return Value: Boolean, returns true if the user is seeking, otherwise returns false.

Video Object Reference The Video object