Some nice changes like a better grid that is more responsive.

This commit is contained in:
Henry Hiles 2022-06-06 15:48:30 -04:00
parent 099b038199
commit 0eab4c62ac
8 changed files with 78 additions and 73 deletions

View file

@ -70,6 +70,8 @@ export const addVideoStream = (videoContainer, username, stream, isYours) => {
const video = videoContainer.querySelector("video")
video.srcObject = stream
if (CSS.supports("::-webkit-media-controls-panel"))
video.controls = "controls"
video.addEventListener("loadedmetadata", () => video.play())
if (isYours) {
video.muted = true