Latest web development tutorials
 

HTML Audio/Video DOM paused Propery

< HTML Audio/Video DOM Reference

Example

Check if the video is paused:

var vid = document.getElementById("myVideo");
alert(vid.paused);
Try it Yourself »

Definition and Usage

The paused property returns whether the audio/video is paused.

Note: This property is read-only.


Browser Support

The numbers in the table specify the first browser version that fully supports the property.

Property
paused Yes 9.0 3.5 Yes Yes

Syntax

audio|video.paused

Technical Details

Return Value: A Boolean, returns true if the audio/video is paused. Otherwise it returns false

< HTML Audio/Video DOM Reference