While behavior seems ok, the 'pause' button doesn't change back to the 'play' icon when the media file finishing playing with ogv.js backing. Probably another missing event.
Ah remember how I mentioned at some point that I thought there was a race condition with the 'pause' event ?
That's this: The play button listens for the pause event. Both pause and ended are triggered 'logically' (I believe we checked that before ?), but sometimes the code path that should send the pause event doesn't seem to be actually be finished executing before the ended event is triggered, cancelling it out somehow instead.
Also I just noticed that the ended event keeps being triggered continuously after the video has ended.