mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-26 11:57:34 -07:00
allow videos to be downloaded
This commit is contained in:
parent
8288e9e918
commit
125c0a2176
2 changed files with 2 additions and 0 deletions
|
@ -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 a new issue