Compare commits

...

1 commit

Author SHA1 Message Date
shpuld
bb2ff977a5 Default video inlining true and make the config stuff work 2019-01-31 21:01:10 +02:00
3 changed files with 5 additions and 4 deletions

View file

@ -86,6 +86,7 @@ const afterStoreSetup = ({ store, i18n }) => {
copyInstanceOption('subjectLineBehavior')
copyInstanceOption('alwaysShowSubjectInput')
copyInstanceOption('noAttachmentLinks')
copyInstanceOption('playVideosInline')
if ((config.chatDisabled)) {
store.dispatch('disableChat')

View file

@ -66,7 +66,9 @@ const settings = {
Object.getOwnPropertyDescriptor(HTMLMediaElement.prototype, 'webkitAudioDecodedByteCount') ||
// Future spec, still not supported in Nightly 63 as of 08/2018
Object.getOwnPropertyDescriptor(HTMLMediaElement.prototype, 'audioTracks'),
playVideosInline: user.playVideosInline,
playVideosInline: typeof user.playVideosInline === 'undefined'
? instance.playVideosInline
: user.playVideosInline,
useContainFit: user.useContainFit
}
},

View file

@ -20,7 +20,5 @@
"webPushNotifications": false,
"noAttachmentLinks": false,
"nsfwCensorImage": "",
"useOneClickNsfw": true,
"playVideosInline": false,
"useContainFit": false
"playVideosInline": true,
}