Audio paused Property
Example
Find out if the audio is paused:
var x = document.getElementById("myAudio").paused;
The result of x could be:
true
Try it Yourself »
Definition and Usage
The paused property returns whether the audio is paused.
Note: This property is read-only.
Browser Support
Property | |||||
---|---|---|---|---|---|
paused | Yes | Yes | Yes | Yes | Yes |
Syntax
audioObject.paused
Technical Details
Return Value: | A Boolean, returns true if the audio is paused. Otherwise it returns false |
---|
Audio Object