aboutsummaryrefslogtreecommitdiff
path: root/src/components/attachment/attachment.vue
diff options
context:
space:
mode:
authorRoger Braun <roger@rogerbraun.net>2016-11-06 17:43:31 +0100
committerRoger Braun <roger@rogerbraun.net>2016-11-06 17:43:31 +0100
commit15800bab576b1a1e1ef5eab61b6d0d16ea6dfd5e (patch)
treef1789855427810a9494ad3198730a926edfab53b /src/components/attachment/attachment.vue
parent2917f4ab44f36aaf765f5b1b54b67551b600af77 (diff)
Add mp4 to attachments.
Diffstat (limited to 'src/components/attachment/attachment.vue')
-rw-r--r--src/components/attachment/attachment.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/attachment/attachment.vue b/src/components/attachment/attachment.vue
index 7feab42c..09ca5fa9 100644
--- a/src/components/attachment/attachment.vue
+++ b/src/components/attachment/attachment.vue
@@ -6,7 +6,7 @@
<a class="image-attachment" v-if="type === 'image' && !nsfw" :href="attachment.url" target="_blank"><img :src="attachment.url"></img></a>
- <video v-if="type === 'webm' && !nsfw" :src="attachment.url" controls></video>
+ <video v-if="type === 'video' && !nsfw" :src="attachment.url" controls></video>
<span v-if="type === 'unknown'">Don't know how to display this...</span>