diff options
| author | shpuld <shp@cock.li> | 2019-01-26 17:59:59 +0200 |
|---|---|---|
| committer | shpuld <shp@cock.li> | 2019-01-26 17:59:59 +0200 |
| commit | 676acdbf82726cd78ce8611d4c6ba78c58b8fc4c (patch) | |
| tree | b4a286956c8366cc5a711109186f1ef7a800513f | |
| parent | 0ab828bb30e70e190c1b26eda658ea1d14cc129f (diff) | |
Add default config for new options, fix firefox inline playing
| -rw-r--r-- | src/components/attachment/attachment.vue | 2 | ||||
| -rw-r--r-- | static/config.json | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/src/components/attachment/attachment.vue b/src/components/attachment/attachment.vue index 5a80db8a..7e972026 100644 --- a/src/components/attachment/attachment.vue +++ b/src/components/attachment/attachment.vue @@ -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> diff --git a/static/config.json b/static/config.json index 24e26696..aac93f70 100644 --- a/static/config.json +++ b/static/config.json @@ -19,5 +19,8 @@ "loginMethod": "password", "webPushNotifications": false, "noAttachmentLinks": false, - "nsfwCensorImage": "" + "nsfwCensorImage": "", + "useOneClickNsfw": true, + "playVideosInline": false, + "useContainFit": false } |
