Ability to disablePictureInPicture via JavaScript
Categories
(Toolkit :: Picture-in-Picture, enhancement)
Tracking
()
People
(Reporter: bootrino, Unassigned, NeedInfo)
Details
Steps to reproduce:
Attempted to use disablePictureInPicture, works on all other popular browsers, not Firefox.
Actual results:
Firefox does not allow JavaScript to disable picture in picture via JavaScript with disablePictureInPicture.
Expected results:
disablePictureInPicture via JavaScript should be supported.
I don't want the picture in picture icon appearing on the videos in my application.
Using videos is a valid way if displaying animated user interfaced content instead of animated GIF. Displaying the picture in picture icon over these videos is a terrible user experience.
I can't see that Firefox not allowing this makes sense - it should be a website developer decision whether or not they want the picture in picture icon appearing on videos.
disablePictureInPicture is widely supported elsewhere:
https://caniuse.com/mdn-api_htmlvideoelement_disablepictureinpicture
This issue previously listed as WONTFIX here: https://bugzilla.mozilla.org/show_bug.cgi?id=1611831
Comment 1•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Toolkit::Picture-in-Picture' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Updated•2 years ago
|
Yes it may be a duplicate but the duplicate is closed for commenting.
Setting aside all other issues.....
If this feature is supported by all the other major browser implementations then how about Firefox just pulls its head in and implements it for the sake of not sending us back to browser hell from when the web was young?
Comment 4•2 years ago
|
||
We added support for this in Firefox 116.
Is it not working for you?
Please let us know if the support for this property not working for you.
Description
•