summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/components/CallView/shared/LocalVideo.vue16
1 files changed, 10 insertions, 6 deletions
diff --git a/src/components/CallView/shared/LocalVideo.vue b/src/components/CallView/shared/LocalVideo.vue
index 570f97ec3..a41164839 100644
--- a/src/components/CallView/shared/LocalVideo.vue
+++ b/src/components/CallView/shared/LocalVideo.vue
@@ -25,12 +25,15 @@
@mouseover="showShadow"
@mouseleave="hideShadow"
@click="handleClickVideo">
- <video v-show="localMediaModel.attributes.videoEnabled"
- id="localVideo"
- ref="video"
- disablePictureInPicture="true"
- :class="videoClass"
- class="video" />
+ <div v-show="localMediaModel.attributes.videoEnabled"
+ class="videoWrapper">
+ <video
+ id="localVideo"
+ ref="video"
+ disablePictureInPicture="true"
+ :class="videoClass"
+ class="video" />
+ </div>
<div v-if="!localMediaModel.attributes.videoEnabled && !isSidebar" class="avatar-container">
<VideoBackground
v-if="isGrid || isStripe"
@@ -314,6 +317,7 @@ export default {
flex-direction: column;
}
+.videoWrapper,
.video {
height: 100%;
width: 100%;