Extconfpatch for disney+

This commit is contained in:
Tamius Han 2023-01-22 17:58:39 +01:00
parent 26ee2ffbb6
commit e2a18ec765
2 changed files with 25 additions and 3 deletions

View File

@ -197,6 +197,24 @@ const ExtensionConfPatch = [
}
}
}
}, {
forVersion: '5.1.6',
updateFn: (userOptions, defaultOptions) => {
userOptions.sites['www.disneyplus.com'].DOM = {
"player": {
"manual": true,
"querySelectors": ".btm-media-player",
"additionalCss": "",
"useRelativeAncestor": false,
"playerNodeCss": ""
},
"video": {
"manual": true,
"querySelectors": ".btm-media-client-element",
"additionalCss": ""
}
}
}
}
];

View File

@ -1063,14 +1063,18 @@ const ExtensionConf: SettingsInterface = {
videoAlignment: VideoAlignmentType.Default,
keyboardShortcutsEnabled: ExtensionMode.Default,
arPersistence: true, // persist aspect ratio between different videos
DOM: {
"DOM": {
"player": {
"manual": true,
"querySelectors": ".btm-media-client-element",
"querySelectors": ".btm-media-player",
"additionalCss": "",
"useRelativeAncestor": false,
"videoAncestor": 1,
"playerNodeCss": ""
},
"video": {
"manual": true,
"querySelectors": ".btm-media-client-element",
"additionalCss": ""
}
},
css: ".hudson-container { height: 100%; }",