Commit e17f0345 authored by Killian Kemps's avatar Killian Kemps

Display video in conversation

parent 8f214428
......@@ -15,6 +15,9 @@
<img v-bind:src="attachment.thumbnailUrl" v-bind:alt="attachment.name"/>
</a>
</template>
<template v-if="attachment.type === 'video'">
<video v-bind:src="attachment.url" width="150px" controls/></video>
</template>
<template v-else>
<img v-bind:src="attachment.image" v-bind:alt="attachment.title" width="150px"/>
</template>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment