ended event is fired when playback has stopped because the end of the
media was reached.
element.onended = handlerFunction; var handlerFunction = element.onended;
handlerFunction is either
specifying the handler for the event.
|HTML Living Standard
The definition of 'onended' in that specification.
BCD tables only load in the browser