FREE Web Template Download
HTML CSS JAVASCRIPT SQL PHP BOOTSTRAP JQUERY ANGULARJS TUTORIALS REFERENCES EXAMPLES Blog
 

Video ended Property

Video Object Reference Video Object

Example

Find out if the video has ended:

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

The result of x could be:

true
Try it Yourself »

Definition and Usage

The ended property returns whether the playback of the video has ended.

A video has ended when the playback position is at the end of the video.

Note: This property is read-only.


Browser Support

Property
ended Yes 9.0 Yes Yes Yes

Syntax

videoObject.ended

Technical Details

Return Value: A Boolean, returns true if the playback has ended, otherwise it returns false

Video Object Reference Video Object