Add support for screen-sharing

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2022-08-07 19:09:45 +02:00
commit 305c2cb806
No known key found for this signature in database
GPG key ID: 4F68B9EC0536B5CC
5 changed files with 127 additions and 54 deletions

View file

@ -40,6 +40,11 @@
box-shadow: inset 0 0 0 4px var(--accent) !important;
}
.videoTile.fullscreen {
position: relative;
border-radius: 0;
}
.videoTile.screenshare > video {
object-fit: contain;
}
@ -79,10 +84,11 @@
z-index: 1;
}
.videoTile:not(.isLocal):not(:hover) .toolbar {
.videoTile:not(:hover) .toolbar {
display: none;
}
.videoTile:not(.fullscreen):hover .presenterLabel,
.videoTile:not(.isLocal):hover .presenterLabel {
top: calc(42px + 20px); /* toolbar + margin */
}