Select player elements on youtube and twitch with query selector

This commit is contained in:
Tamius Han 2019-07-03 20:17:55 +02:00
parent d962535311
commit 478d4a8795

View File

@ -896,6 +896,15 @@ var ExtensionConf = {
stretch: Stretch.Default,
videoAlignment: VideoAlignment.Default,
keyboardShortcutsEnabled: ExtensionMode.Default,
DOM: {
player: {
manual: true,
querySelectors: "#movie_player",
additionalCss: "",
useRelativeAncestor: false,
playerNodeCss: "",
}
}
},
"www.netflix.com" : {
mode: ExtensionMode.Enabled,
@ -919,6 +928,24 @@ var ExtensionConf = {
}
}
},
"www.twitch.tv": {
mode: ExtensionMode.Enabled,
autoar: currentBrowser.firefox ? ExtensionMode.Enabled : ExtensionMode.Disabled,
override: true,
type: 'official',
stretch: Stretch.Default,
videoAlignment: VideoAlignment.Default,
keyboardShortcutsEnabled: ExtensionMode.Default,
DOM: {
player: {
manual: true,
querySelectors: ".video-player__container.player",
additionalCss: "",
useRelativeAncestor: false,
playerNodeCss: ""
}
}
},
"old.reddit.com" : {
mode: ExtensionMode.Enabled,
autoar: currentBrowser.firefox ? ExtensionMode.Enabled : ExtensionMode.Disabled,