fix(UI): add playsinline attr for video element

> playinline attr needs to be set to true to stop local video from playing in full screen mode in Safari on iOS.
> This applies to the local video thumbnails and the camera previews from the device selection menu and video preview button
This commit is contained in:
Jaya Allamsetty
2020-06-11 16:13:36 -04:00
committed by Jaya Allamsetty
parent df64dd8f18
commit b7b861259b
4 changed files with 16 additions and 3 deletions

View File

@@ -167,6 +167,7 @@ class VideoSettingsContent extends Component<Props, State> {
<div className = 'video-preview-overlay' />
<Video
className = { videoClassName }
playsinline = { true }
videoTrack = {{ jitsiTrack }} />
</div>
);