allow videos to be downloaded
This commit is contained in:
parent
abd0c1c51b
commit
21612d4f5e
|
@ -11,6 +11,7 @@
|
||||||
:poster="video.thumbnailUrl"
|
:poster="video.thumbnailUrl"
|
||||||
:title="video.comment"
|
:title="video.comment"
|
||||||
:alt="video.comment"
|
:alt="video.comment"
|
||||||
|
:download="video.url"
|
||||||
preload="none"
|
preload="none"
|
||||||
controls
|
controls
|
||||||
@contextmenu.stop
|
@contextmenu.stop
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
<VuePlyr v-else-if="message.file.type.split('/')[0] == 'video'">
|
<VuePlyr v-else-if="message.file.type.split('/')[0] == 'video'">
|
||||||
<video
|
<video
|
||||||
:alt="message.file.name"
|
:alt="message.file.name"
|
||||||
|
:download="message.file.url"
|
||||||
preload="none"
|
preload="none"
|
||||||
controls
|
controls
|
||||||
@contextmenu.stop
|
@contextmenu.stop
|
||||||
|
|
Loading…
Reference in New Issue