Bug 1777367 - Put YouTube's PiP toggle visibility threshold back to 0.7. r=kpatenio

Differential Revision: https://phabricator.services.mozilla.com/D150702
This commit is contained in:
Mike Conley 2022-06-30 15:19:15 +00:00
parent b54167f8b0
commit 77ff97c5b8

View file

@ -146,8 +146,13 @@ let AVAILABLE_PIP_OVERRIDES;
},
youtube: {
/**
* The threshold of 0.7 is so that users can click on the "Skip Ads"
* button on the YouTube site player without accidentally triggering
* PiP.
*/
"https://*.youtube.com/*": {
visibilityThreshold: 0.9,
visibilityThreshold: 0.7,
videoWrapperScriptPath: "video-wrappers/youtube.js",
},
"https://*.youtube-nocookie.com/*": {