HTMLMediaElement: ended event

The ended event is fired when playback or streaming has stopped because the end of the media was reached or because no further data is available.
This event occurs based upon HTMLMediaElement (<audio> and <video>) fire ended when playback of the media reaches the end of the media.

General info

Specification
HTML5 media,
Interface
Event
Bubbles
No
Cancelable
No
Target
Element
Default Action
None.

This event is also defined in Media Capture and Streams and Web Audio API

Properties

Property Type Description
target Read only EventTarget The event target (the topmost target in the DOM tree).
type Read only DOMString The type of event.
bubbles Read only Boolean Whether the event normally bubbles or not.
cancelable Read only Boolean Whether the event is cancellable or not.

See Also

Document Tags and Contributors

Contributors to this page: estelle, fscholz, Sheppy, teoli, ethertank, louisremi
Last updated by: estelle,