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,6 +1,7 @@
|
|||
<template>
|
||||
<video
|
||||
class="video"
|
||||
preload="metadata"
|
||||
:src="attachment.url"
|
||||
:loop="loopVideo"
|
||||
:controls="controls"
|
||||
|
|
Loading…
Reference in New Issue