HTML Audio/Video DOMpausedProperty

HTML Audio/Video DOM Reference Manual

Example

Check whether the video is paused:

myVid=document.getElementById("video1");
alert(myVid.paused);

Try it Yourself »

Definition and Usage

The paused property returns whether the audio/video has been paused.


Browser Support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers support the paused property.

Note:Internet Explorer 8 and earlier versions do not support this property.


Syntax

audio|video.paused

Technical Details

Return value: Boolean value, true|false.
true indicates that the audio/video has been paused, otherwise false.


HTML Audio/Video DOM Reference Manualother extensions