Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

HTML Audio/Video DOM paused Property

HTML Audio/Video DOM paused Property

HTML audio/video Tag Reference HTML Audio/Video DOM Reference

Example

Check whether the video is paused:

myVid=document.getElementById("video1");

alert(myVid.paused);

Try it »


Definition and Usage

The paused property returns whether the audio/video is 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: | A Boolean value, true|false.
true indicates the audio/video is paused, otherwise false. | | --- | --- |


HTML audio/video Tag Reference HTML Audio/Video DOM Reference