From db33a53ee8a617937ce9f9e1e79a1c5ac00de126 Mon Sep 17 00:00:00 2001
From: Nolan Lawson <nolan@nolanlawson.com>
Date: Sat, 7 Oct 2017 18:06:43 -0700
Subject: [PATCH] Video preload should be a string (#5267)

---
 app/javascript/mastodon/features/video/index.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/javascript/mastodon/features/video/index.js b/app/javascript/mastodon/features/video/index.js
index 519a2aac9..8b83fb66b 100644
--- a/app/javascript/mastodon/features/video/index.js
+++ b/app/javascript/mastodon/features/video/index.js
@@ -233,7 +233,7 @@ export default class Video extends React.PureComponent {
           ref={this.setVideoRef}
           src={src}
           poster={preview}
-          preload={startTime ? true : null}
+          preload={startTime ? 'auto' : 'none'}
           loop
           role='button'
           tabIndex='0'