forked from mirrors/gecko-dev
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:
parent
b54167f8b0
commit
77ff97c5b8
1 changed files with 6 additions and 1 deletions
|
|
@ -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/*": {
|
||||
|
|
|
|||
Loading…
Reference in a new issue