mediaelement.play() stays pending forever in new window
Categories
(Core :: Audio/Video: Playback, defect)
Tracking
()
People
(Reporter: tharin.desilva1, Unassigned)
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
Steps to reproduce:
Hi there,
We're having trouble playing a video on a new window, in Firefox.
We noticed that this started happening from the 2019-09-26 nightly build onwards. It seems that when .play() is called after the mediaelement is added to the newly opened window, it triggers this behaviour.
UA: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Firefox/78.0
Steps:
- visit https://jsfiddle.net/Lcne05tg/1/
- open the browser console
- click "Click me" button
Actual results:
The .play() promise would stay pending forever. Right clicking the video element and clicking play does nothing. Maximising the window causes it to behave as expected.
Expected results:
The .play() promise should either succeed or fail.
Comment 1•4 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Updated•4 years ago
|
Description
•