ended | onended event
Occurs when the end of playback is reached.
|HTML Attribute||<element onended = "handler(event)">|
|Event Property||object.onended = handler;|
|addEventListener Method||object.addEventListener("ended", handler, useCapture)|
Event handler parameters
- pEvtObj [in]
- HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 188.8.131.52
This is the last event raised by media playback.
To invoke this event, do one of the following:
- Play the media to its full duration.
- Set currentTime past the end of the media.
Build date: 11/25/2013