HTML DOM Audio paused property
Examples
Check whether the Audio Paused:
var x = document.getElementById("myAudio").paused;
x output values:
true
try it"
Definition and Usage
paused property returns whether the audio is paused.
Note: This property is read-only.
Browser Support
All major browsers support paused property.
Note: Internet Explorer 8 and earlier versions of IE does not support this property.
grammar
audioObject .paused
technical details
return value: | Boolean value that, if the audio is paused returns true, otherwise returns false. |
---|
Audio Object