HTML Audio/Video DOM paused Property
Example
var vid = document.getElementById("myVideo");
function myFunction() {
alert(vid.paused);
}
Meaning
The paused property returns whether the audio/video is paused or not.
Return a Boolean value, returns true if the audio/video is paused. Otherwise it returns false.
Standard Syntax
audio|video.paused
Advertisement
Return Value
| Type | Description |
|---|---|
| true | Returns if the audio/video is paused. |
| false | Returns if the audio/video is not paused. |