Video preload should be a string (#5267)

master
Nolan Lawson 7 years ago committed by Eugen Rochko
parent 7de6d269d2
commit db33a53ee8
  1. 2
      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'

Loading…
Cancel
Save