Some nice changes like a better grid that is more responsive.
This commit is contained in:
parent
099b038199
commit
0eab4c62ac
8 changed files with 78 additions and 73 deletions
|
@ -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
|
||||
|
|
Reference in a new issue