The read-only HTMLMediaElement.paused
property
tells whether the media element is paused.
Syntax
var isPaused = audioOrVideo.paused
Value
A Boolean
. true
is paused and false
is not
paused.
Example
var obj = document.createElement('video');
console.log(obj.paused); // true
Specifications
Specification | Status | Comment |
---|---|---|
HTML Living Standard The definition of 'HTMLMediaElement.paused' in that specification. |
Living Standard | |
HTML5 The definition of 'HTMLMediaElement.paused' in that specification. |
Recommendation |
Browser compatibility
BCD tables only load in the browser
See also
- The interface defining it,
HTMLMediaElement
.