Update default settings: fix old.reddit, vimeo, disable imgur

This commit is contained in:
Tamius Han 2019-06-14 23:20:47 +02:00
parent 106cc11e5e
commit 2eaab6d3a4

View File

@ -936,23 +936,33 @@ var ExtensionConf = {
player: { player: {
manual: true, manual: true,
useRelativeAncestor: true, useRelativeAncestor: true,
// querySelectors: '',
videoAncestor: 1, videoAncestor: 1,
// additionalCss: '',
} }
}, },
css: '', css: '',
// videoElement: { // extra stuff for video tag },
// querySelectors: [], // array of strings with css selectors "vimeo.com": {
// userCss: [], // additional styles that user can define for video element mode: 3,
// }, autoar: 3,
// playerElement: { type: 'official',
// querySelectors: [], // array of strings with css selectors stretch: -1,
// videoAncestor: 1, // if not falsey, the number represents how far up the DOM (in nodes) videoAlignment: -1,
// from video the player lies. Can also be object (valid properties are keyboardShortcutsEnabled: 0,
// 'fullscreen', 'embed' and 'normal') DOM: {
// userCss: [], player: {
// } manual: true,
querySelectors: ".player_outro_area",
useRelativeAncestor: false,
},
},
css: ".player_outro_area {\n width: 100% !important;\n display: flex !important;\n justify-content: center !important;\n}\n\n.player_container, .player {\n width: 100% !important; \n}"
},
"imgur.com": {
mode: -1,
autoar: -1,
autoarFallback: 0,
stretch: -1,
videoAlignment: 1
}, },
} }
} }