mirror of
https://github.com/kikobar/mastodon.git
synced 2024-11-18 21:27:41 +00:00
Video preload should be a string (#5267)
This commit is contained in:
parent
7de6d269d2
commit
db33a53ee8
|
@ -233,7 +233,7 @@ export default class Video extends React.PureComponent {
|
||||||
ref={this.setVideoRef}
|
ref={this.setVideoRef}
|
||||||
src={src}
|
src={src}
|
||||||
poster={preview}
|
poster={preview}
|
||||||
preload={startTime ? true : null}
|
preload={startTime ? 'auto' : 'none'}
|
||||||
loop
|
loop
|
||||||
role='button'
|
role='button'
|
||||||
tabIndex='0'
|
tabIndex='0'
|
||||||
|
|
Loading…
Reference in a new issue