fix(screen-sharing) Self view of SC sized correctly initially (#13992)

pull/14012/head jitsi-meet_9061
Muhammed Ajmal M 2 years ago committed by GitHub
parent 73b3309adf
commit 84d75f2ae8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      react/features/large-video/components/LargeVideo.web.tsx
  2. 5
      react/features/large-video/components/ScreenSharePlaceholder.web.tsx

@ -228,16 +228,17 @@ class LargeVideo extends Component<IProps> {
* another container for the background and the
* largeVideoWrapper in order to hide/show them.
*/}
{ _displayScreenSharingPlaceholder ? <ScreenSharePlaceholder /> : <></>}
<div
id = 'largeVideoWrapper'
onTouchEnd = { this._onDoubleTap }
ref = { this._wrapperRef }
role = 'figure' >
{ _displayScreenSharingPlaceholder ? <ScreenSharePlaceholder /> : <video
<video
autoPlay = { !_noAutoPlayVideo }
id = 'largeVideo'
muted = { true }
playsInline = { true } /* for Safari on iOS to work */ /> }
playsInline = { true } /* for Safari on iOS to work */ />
</div>
</div>
{ interfaceConfig.DISABLE_TRANSCRIPTION_SUBTITLES

@ -15,7 +15,10 @@ const useStyles = makeStyles()(theme => {
display: 'flex',
justifyContent: 'center',
alignItems: 'center',
position: 'absolute'
position: 'absolute',
top: 0,
left: 0,
zIndex: 2
},
content: {
display: 'flex',

Loading…
Cancel
Save