Audio paused attribute
Example
Check whether the audio is paused:
var x = document.getElementById("myAudio").paused;
x Output value:
true
Try it »
Definition and Usage
The paused attribute returns whether the audio is paused.
Note: This property is read-only.
Browser support





All major browsers support the paused attribute.
Note: Internet Explorer 8 and earlier IE versions do not support this attribute.
Syntax
audioObject
.paused
Technical Details
| Return Value: | Boolean. Returns true if the audio is paused, otherwise false. |
|---|
Audio object