add playsInline attribute to video element to ensure it does not pop out into full screen video on iOS Safari

This commit is contained in:
Michael Roytman
2020-09-04 14:03:29 -04:00
parent a579e86e98
commit ae355cefcf

View File

@@ -58,6 +58,7 @@ class Camera extends React.Component {
autoPlay={true}
className='camera-video'
style={{ display: this.state.dataUri ? 'none' : 'block' }}
playsInline
/>
<img
alt='imgCamera'