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.
Bubbles | No |
---|---|
Cancelable | No |
Interface | Event |
Target | Element |
Default Action | None |
Event handler property | GlobalEventHandlers.onended |
Note: This event is also defined in Media Capture and Streams and Web Audio API