generate ended event artificially when player element fails to do so
Created by: spiterikevin
Issue #2129 (closed).
This PR generates a PLAYBACK_ENDED event from the StreamController when the video element fails to do so. StreamController was already working around this problem for multiple period content, this PR extends that workaround by passing the event to other (non-StreamController) event handlers.