Page MenuHomePhabricator

rejected play promise should not attempt to pause video
Closed, ResolvedPublicBUG REPORT

Description

I've seen some behaviour where sometimes video/audio is paused after loading it.
This likely has to do with our autoplay busting and the pause executing after the initial play.

I now suspect this is related to this: https://developer.chrome.com/blog/play-request-was-interrupted/#danger-zone

We should probably just remove the pause from that rejected promise, as it causes a pause to be triggered after videojs has been loaded and reading that documentation, it isn't actually doing anything useful to begin with.

Event Timeline

TheDJ triaged this task as Medium priority.

Change 783456 had a related patch set uploaded (by TheDJ; author: TheDJ):

[mediawiki/extensions/TimedMediaHandler@master] Remove not so useful pause in reject promise of play

https://gerrit.wikimedia.org/r/783456

Change 783456 merged by jenkins-bot:

[mediawiki/extensions/TimedMediaHandler@master] Remove not so useful pause in reject promise of play

https://gerrit.wikimedia.org/r/783456