HTMLMediaElement: paused property
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
| desktop | mobile | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
paused | |||||||||||
See also
HTMLMediaElement: Interface used to define theHTMLMediaElement.pausedproperty