Browse Source

Video preload should be a string (#5267)

pull/4/head
Nolan Lawson 6 years ago
committed by Eugen Rochko
parent
commit
db33a53ee8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/javascript/mastodon/features/video/index.js

+ 1
- 1
app/javascript/mastodon/features/video/index.js 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'

Loading…
Cancel
Save