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 (
|
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>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user