commit: db33a53ee8a617937ce9f9e1e79a1c5ac00de126
parent: 7de6d269d21e0ed7a3ede7c3d17089726a29d841
Author: Nolan Lawson <nolan@nolanlawson.com>
Date: Sat, 7 Oct 2017 18:06:43 -0700
Video preload should be a string (#5267)
Diffstat:
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
@@ -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'