Add default config for new options, fix firefox inline playing
This commit is contained in:
parent
0ab828bb30
commit
676acdbf82
2 changed files with 5 additions and 2 deletions
|
@ -34,7 +34,7 @@
|
||||||
@click="openModal"
|
@click="openModal"
|
||||||
v-if="type === 'video' && !hidden"
|
v-if="type === 'video' && !hidden"
|
||||||
:class="{'small': isSmall}"
|
:class="{'small': isSmall}"
|
||||||
:href="attachment.url"
|
:href="allowPlay ? undefined : attachment.url"
|
||||||
>
|
>
|
||||||
<VideoAttachment class="video" :attachment="attachment" :controls="allowPlay" />
|
<VideoAttachment class="video" :attachment="attachment" :controls="allowPlay" />
|
||||||
<i v-if="!allowPlay" class="play-icon icon-play-circled"></i>
|
<i v-if="!allowPlay" class="play-icon icon-play-circled"></i>
|
||||||
|
|
|
@ -19,5 +19,8 @@
|
||||||
"loginMethod": "password",
|
"loginMethod": "password",
|
||||||
"webPushNotifications": false,
|
"webPushNotifications": false,
|
||||||
"noAttachmentLinks": false,
|
"noAttachmentLinks": false,
|
||||||
"nsfwCensorImage": ""
|
"nsfwCensorImage": "",
|
||||||
|
"useOneClickNsfw": true,
|
||||||
|
"playVideosInline": false,
|
||||||
|
"useContainFit": false
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue