Add default config for new options, fix firefox inline playing

This commit is contained in:
shpuld 2019-01-26 17:59:59 +02:00
parent 0ab828bb30
commit 676acdbf82
2 changed files with 5 additions and 2 deletions

View file

@ -34,7 +34,7 @@
@click="openModal"
v-if="type === 'video' && !hidden"
:class="{'small': isSmall}"
:href="attachment.url"
:href="allowPlay ? undefined : attachment.url"
>
<VideoAttachment class="video" :attachment="attachment" :controls="allowPlay" />
<i v-if="!allowPlay" class="play-icon icon-play-circled"></i>

View file

@ -19,5 +19,8 @@
"loginMethod": "password",
"webPushNotifications": false,
"noAttachmentLinks": false,
"nsfwCensorImage": ""
"nsfwCensorImage": "",
"useOneClickNsfw": true,
"playVideosInline": false,
"useContainFit": false
}