From feb2117201aa7c7fbcb187de4b9230f77765f94d Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 15 Jul 2020 11:56:25 +0200 Subject: [PATCH] Make sure the avatar/video are not transparently overlaying in one-to-one calls This adds black bars around the video depending on the resolution, but it's still better than having your half-transparent avatar shine an underlying video/avatar through it. Signed-off-by: Joas Schilling --- src/components/CallView/shared/LocalVideo.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/components/CallView/shared/LocalVideo.vue b/src/components/CallView/shared/LocalVideo.vue index e1896552b17..317b113d0dc 100644 --- a/src/components/CallView/shared/LocalVideo.vue +++ b/src/components/CallView/shared/LocalVideo.vue @@ -411,9 +411,14 @@ export default { } .bad-connection-quality { + /* This adds black bars around the video depending on the resolution, + * but it's still better than having your half-transparent avatar + * shine an underlying video/avatar through it. */ + background-color: #000000; + .video, .avatar-container { - opacity: 0.5 + opacity: 0.3 } }