Skip to content
Snippets Groups Projects
Commit bb2ff977 authored by Shpuld Shpludson's avatar Shpuld Shpludson
Browse files

Default video inlining true and make the config stuff work

parent fbe7af3d
Branches bugfix/object-fetching-handle-mrf-reject
No related tags found
No related merge requests found
Pipeline #6863 passed
......@@ -86,6 +86,7 @@ const afterStoreSetup = ({ store, i18n }) => {
copyInstanceOption('subjectLineBehavior')
copyInstanceOption('alwaysShowSubjectInput')
copyInstanceOption('noAttachmentLinks')
copyInstanceOption('playVideosInline')
if ((config.chatDisabled)) {
store.dispatch('disableChat')
......
......@@ -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
}
},
......
......@@ -20,7 +20,5 @@
"webPushNotifications": false,
"noAttachmentLinks": false,
"nsfwCensorImage": "",
"useOneClickNsfw": true,
"playVideosInline": false,
"useContainFit": false
"playVideosInline": true,
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment