HTMLMediaElement: seeking property
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.
The seeking
read-only property of the HTMLMediaElement
interface is a Boolean indicating whether the resource, the <audio>
or <video>
, is in the process of seeking to a new position.
Value
A boolean value.
Examples
js
const el = document.querySelector("video");
console.log(el.seeking); // true or false
Specifications
Specification |
---|
HTML # dom-media-seeking-dev |
Browser compatibility
BCD tables only load in the browser
See also
seeking
eventseeked
eventHTMLVideoElement
HTMLAudioElement