allow videos to be downloaded

This commit is contained in:
ThatOneCalculator 2022-08-19 14:38:46 -07:00
parent abd0c1c51b
commit 21612d4f5e
2 changed files with 2 additions and 0 deletions

View File

@ -11,6 +11,7 @@
:poster="video.thumbnailUrl"
:title="video.comment"
:alt="video.comment"
:download="video.url"
preload="none"
controls
@contextmenu.stop

View File

@ -13,6 +13,7 @@
<VuePlyr v-else-if="message.file.type.split('/')[0] == 'video'">
<video
:alt="message.file.name"
:download="message.file.url"
preload="none"
controls
@contextmenu.stop