Move PiP overrides from webcompat add-on into its own system addon
source link: https://bugzilla.mozilla.org/show_bug.cgi?id=1690076
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Move PiP overrides from webcompat add-on into its own system addon
Categories
(Toolkit :: Video/Audio Controls, task, P3)
Tracking
(bug RESOLVED as FIXED)
88 Branch
People
(Reporter: mtigley, Assigned: popeoliv)
References
(Blocks 2 open bugs)
Details
This would make it easier for us to continue adding site-specific PiP fixes/features independent of the WebCompat addon. There's been a discussion about this in https://bugzilla.mozilla.org/show_bug.cgi?id=1670108#c9.
We should be creating a separate directory to house the standalone Picture-in-Picture web extension. To get started:
- Create a directory called
pictureinpicture
atbrowser/extensions/
- Create a
moz.build
and manifest.json with the necessary information required for creating a web extension. See the WebCompat Addon for an example.
Next, we want to move the PiP overrides and experimental APIs initially created in https://phabricator.services.mozilla.com/D57375 to this folder. I think it's fine if we keep the initial folder structure for now.
Additional resources about developing web extensions in Firefox:
Pushed by [email protected]: https://hg.mozilla.org/integration/autoland/rev/46f5fcba78c3 Move Picture-in-Picture site overrides into its own Firefox Extension r=mtigley,mhowell,webcompat-reviewers,denschub,robwu
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK