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

HTML DOM Video paused Property

Video paused property

Video Object Reference The Video object

Example

Check whether the video is paused:

var x = document.getElementById("myVideo").paused;

x The output result is:

true

Try it »


Definition and Usage

The paused property returns whether the video is paused.

Note: This attribute is read-only.


Browser support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers support the paused property

Note: Internet Explorer 8 or earlier browsers do not support this attribute.


Syntax

videoObject

.paused

Technical Details

Return Value: Boolean, returns true if the video is paused, otherwise returns false

Video Object Reference The Video object