gearheads
/
mastodon
Archived
2
0
Fork 0

Video preload should be a string (#5267)

gh/stable
Nolan Lawson 2017-10-07 18:06:43 -07:00 committed by Eugen Rochko
parent 7de6d269d2
commit db33a53ee8
1 changed files with 1 additions and 1 deletions

View File

@ -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'