Alternative fix for streamable (#128)

This commit is contained in:
Tamius Han 2020-12-24 23:26:22 +01:00
parent c04780bb16
commit 5e96cdcad8
2 changed files with 27 additions and 0 deletions

View File

@ -418,6 +418,24 @@ const ExtensionConfPatch = [
}
}
}
}, {
forVersion: '4.5.1.1',
updateFn: (userOptions, defaultOptions) => {
if (!userOptions.sites['streamable.com']) {
userOptions.sites['streamable.com'] = {
mode: 3,
autoar: 3,
type: 'official',
stretch: -1,
videoAlignment: -1,
keyboardShortcutsEnabled: 0,
css: ".player {text-align: left}"
};
}
if (!userOptions.sites['streamable.com'].css) {
userOptions.sites['streamable.com'].css = '.player {text-align: left}'
};
}
}
];

View File

@ -1086,6 +1086,15 @@ var ExtensionConf = {
}
}
},
"streamable.com": {
mode: 3,
autoar: 3,
type: 'official',
stretch: -1,
videoAlignment: -1,
keyboardShortcutsEnabled: 0,
css: ".player {text-align: left}"
},
"vimeo.com": {
mode: 3,
autoar: 3,