From: Nolan Lawson Date: Sun, 8 Oct 2017 01:06:43 +0000 (-0700) Subject: Video preload should be a string (#5267) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=db33a53ee8a617937ce9f9e1e79a1c5ac00de126;p=mastodon.git Video preload should be a string (#5267) --- 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'