Fix for disneyplus maybe?
This commit is contained in:
parent
fef2c26cbe
commit
6d4b161b06
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
];
|
||||
|
||||
|
@ -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": ""
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user