Latest web development tutorials

HTML Audio / Video DOM seeking property

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

Examples

It shows the user whether it is currently addressing the video:

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

try it"

Definition and Usage

Currently seeking returns the user attribute is an audio / video addressing.

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


Browser Support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers partially support seekable attribute.

Note: 8 and earlier versions of Internet Explorer does not support this property.


grammar

audio|video .seeking

return value

类型 描述
Boolean true|false。如果用户正在寻址,则为 true,否则为 false。


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