HTML Audio/Video DOM paused Property
Example
Check if the video has been paused:
myVid=document.getElementById("video1"); alert(myVid.paused);
Definition and Usage
The paused property returns whether the audio/video has been paused.
Browser Support
All major browsers support the paused property.
Note:Internet Explorer 8 or earlier browsers do not support this property.
Syntax
audio|video.paused
Return Value
Type | Description |
---|---|
Boolean Value | true|false. true indicates that the audio/video has been paused. Otherwise, it is false. |