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-onlyHTMLMediaElement.paused propertytells whether the media element is paused.
In this article
Value
A boolean value.true is paused andfalse is notpaused.
Examples
js
const obj = document.createElement("video");console.log(obj.paused); // trueSpecifications
| Specification |
|---|
| HTML> # dom-media-paused-dev> |
Browser compatibility
See also
HTMLMediaElement: Interface used to define theHTMLMediaElement.pausedproperty