Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ended property

Gets information about whether the playback has ended or not.

HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 4.8.9.8

 

Syntax

JavaScript

p = object.ended

 

Property values

Type: boolean

false (false)

The playback has not reached the end of the media resource.

true (true)

The playback has reached the end of the media resource.

Standards information

See also

audio element
audio object
media
video element
video object

 

 

Show: