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.
Description
Event Timeline
Quit possibly due to: https://gerrit.wikimedia.org/r/#/c/288173/ part of the stylesheet goes missing due to the BOM char.
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.
Actually I may have fixed the pause/ended along with the ended loop in 1.1.1-alpha.2 updates; check with changeset Id767cb519
@brion ive submitted it here https://github.com/hartman/videojs-ogvjs/pull/20 for the videojs ogv.js plugin.
Change 288345 had a related patch set uploaded (by TheDJ):
[WIP] Update ogv.js to 1.1.1-alpha.2