1e133943_HTML_5__Preconditions
[Event name] ended [Interface] Event [Dispatched when...] Playback has stopped because the end of the media resource was reached. [Preconditions] 
currentTime equals the end of the media resource; ended is true.
HTML 5
Preconditions