Fix for disneyplus maybe?
This commit is contained in:
parent
fef2c26cbe
commit
6d4b161b06
@ -501,6 +501,20 @@ const ExtensionConfPatch = [
|
|||||||
// do nothing
|
// 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: {
|
DOM: {
|
||||||
"player": {
|
"player": {
|
||||||
"manual": true,
|
"manual": true,
|
||||||
"querySelectors": ".btn-media-clients",
|
"querySelectors": ".btm-media-client-element",
|
||||||
"additionalCss": "",
|
"additionalCss": "",
|
||||||
"useRelativeAncestor": false,
|
"useRelativeAncestor": false,
|
||||||
|
"videoAncestor": 1,
|
||||||
"playerNodeCss": ""
|
"playerNodeCss": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user