Add autoPlay & playsInline to <video />
This commit is contained in:
parent
7c98bd3fa9
commit
1740b4b752
@ -49,9 +49,11 @@ export default class Video extends React.PureComponent {
|
||||
return (
|
||||
<div className={className}>
|
||||
<video
|
||||
autoPlay
|
||||
muted={userId === ME}
|
||||
onClick={this.handleClick}
|
||||
onLoadedMetadata={this.play}
|
||||
playsInline
|
||||
ref="video"
|
||||
/>
|
||||
</div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user