#videospace { display: block; position: absolute; top: 0px; left: 0px; right: 0px; overflow: hidden; } #remoteVideos { display:block; position:absolute; text-align:right; height:196px; padding: 18px; bottom: 0; left: 0; right: 20px; width:auto; border:1px solid transparent; z-index: 5; transition: bottom 2s; overflow: visible !important; font-size: 0pt; /*!!!Removes the gap between the local video container and the remote videos.*/ } #remotevideos.hidden { bottom: -196px; } .videocontainer { position: relative; margin-left: auto; margin-right: auto; text-align: center; } #remoteVideos .videocontainer { display: none; background-color: black; background-size: contain; border-radius:1px; /** * Some browsers don't have full support of the object-fit property for the * video element and when we set video object-fit to "cover" the video * actually overflows the boundaries of its container, so it's important * to indicate that the "overflow" should be hidden. */ overflow: hidden; border: 1px solid #212425; } #remoteVideos .videocontainer.videoContainerFocused { cursor: hand; transition-duration: 0.5s; -webkit-transition-duration: 0.5s; -webkit-animation-name: greyPulse; -webkit-animation-duration: 2s; -webkit-animation-iteration-count: 1; } #remoteVideos .videocontainer:hover { border: 1px solid #c1c1c1; } #remoteVideos .videocontainer.videoContainerFocused { box-shadow: inset 0 0 28px #006d91; border: 1px solid #006d91; } #remoteVideos .videocontainer.videoContainerFocused:hover { box-shadow: inset 0 0 5px #c1c1c1, 0 0 10px #c1c1c1, inset 0 0 60px #006d91; border: 1px solid #c1c1c1; } #localVideoWrapper { display:inline-block; } /* With TemasysWebRTC plugin element is used instead of