diff options
author | Nolan Lawson <nolan@nolanlawson.com> | 2017-10-07 18:06:43 -0700 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-10-08 03:06:43 +0200 |
commit | db33a53ee8a617937ce9f9e1e79a1c5ac00de126 (patch) | |
tree | 346ff35a94588d421b2e31825285e650afe341f1 /app/javascript | |
parent | 7de6d269d21e0ed7a3ede7c3d17089726a29d841 (diff) |
Video preload should be a string (#5267)
Diffstat (limited to 'app/javascript')
-rw-r--r-- | app/javascript/mastodon/features/video/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
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' |