Video pausedProperty

Video 对象参考手册Video Object

Example

Check if the video is paused:

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

xThe result is:

true

Try it Yourself »

Definition and Usage

The paused property returns whether the video is paused.

Note:This property 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 property.


Syntax

videoObject.paused

Technical Details

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


Video 对象参考手册Video Object Other Extensions