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 (
<div className={className}>
<video
autoPlay
muted={userId === ME}
onClick={this.handleClick}
onLoadedMetadata={this.play}
playsInline
ref="video"
/>
</div>