From 5f158f2068a71dc91d14cf4b25c50e30ebd2aedf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacob=20Gro=C3=9F?= Date: Sun, 5 Apr 2020 12:39:25 +0200 Subject: [PATCH] temp: Preload none --- src/components/feed/PostMedia.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/feed/PostMedia.js b/src/components/feed/PostMedia.js index 5258bb1..a26d985 100644 --- a/src/components/feed/PostMedia.js +++ b/src/components/feed/PostMedia.js @@ -56,18 +56,19 @@ export default class PostMedia extends Component { } setPreload() { - if (this.videoRef.current !== undefined) this.videoRef.current.preload = 'metadata' + if (this.videoRef.current !== undefined) this.videoRef.current.preload = 'auto' } getMedia(media) { if (media.is_video) { - // video + // video | @todo Once we use virtual list, use preload="metadata" return (