Fix for disneyplus maybe?

This commit is contained in:
Tamius Han 2021-06-07 21:56:57 +02:00
parent fef2c26cbe
commit 6d4b161b06
2 changed files with 16 additions and 1 deletions

View File

@ -501,6 +501,20 @@ const ExtensionConfPatch = [
// do nothing
}
}
}, {
forVersion: '5.0.4',
updateFn: (userOptions, defaultOptions) => {
try {
userOptions.sites['wwww.disneyplus.com'].DOM.player = {
... userOptions.sites['wwww.disneyplus.com'].DOM.player,
querySelectors: ".btm-media-client-element",
useRelativeAncestor: false,
videoAncestor: 1
}
} catch (e) {
// do nothing
}
}
}
];

View File

@ -1070,9 +1070,10 @@ const ExtensionConf: SettingsInterface = {
DOM: {
"player": {
"manual": true,
"querySelectors": ".btn-media-clients",
"querySelectors": ".btm-media-client-element",
"additionalCss": "",
"useRelativeAncestor": false,
"videoAncestor": 1,
"playerNodeCss": ""
}
},