Add autoPlay & playsInline to <video />

This commit is contained in:
Jerko Steiner 2017-06-20 22:27:28 -04:00
parent 7c98bd3fa9
commit 1740b4b752

View File

@ -49,9 +49,11 @@ export default class Video extends React.PureComponent {
return ( return (
<div className={className}> <div className={className}>
<video <video
autoPlay
muted={userId === ME} muted={userId === ME}
onClick={this.handleClick} onClick={this.handleClick}
onLoadedMetadata={this.play} onLoadedMetadata={this.play}
playsInline
ref="video" ref="video"
/> />
</div> </div>