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