forked from AkkomaGang/akkoma-fe
video_attachment: Only preload metadata
This hints browsers that only the metadata and maybe the first few frames are needed. Which avoids downloading the entire video, which isn't really needed in our case.
This commit is contained in:
parent
d770bab1b0
commit
0089d1e8d1
1 changed files with 1 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
<template>
|
||||
<video
|
||||
class="video"
|
||||
preload="metadata"
|
||||
:src="attachment.url"
|
||||
:loop="loopVideo"
|
||||
:controls="controls"
|
||||
|
|
Loading…
Reference in a new issue