HTMLMediaElement: paused 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 read-only HTMLMediaElement.paused
property
tells whether the media element is paused.
Value
A boolean value. true
is paused and false
is not
paused.
Examples
js
const obj = document.createElement("video");
console.log(obj.paused); // true
Specifications
Specification |
---|
HTML Standard # dom-media-paused-dev |
Browser compatibility
BCD tables only load in the browser
See also
HTMLMediaElement
: Interface used to define theHTMLMediaElement.paused
property