Some bug fixes
This commit is contained in:
parent
4ee231cd6a
commit
bf121e5600
3 changed files with 7 additions and 8 deletions
|
@ -75,7 +75,11 @@ export const addVideoStream = (videoContainer, username, stream, isYours) => {
|
|||
video.addEventListener("loadedmetadata", async () => {
|
||||
if (isYours) {
|
||||
video.muted = true
|
||||
//videoContainer.style.width = video.videoWidth
|
||||
//videoContainer.style.height = video.videoHeight
|
||||
console.log(video.videoWidth)
|
||||
}
|
||||
|
||||
try {
|
||||
await video.play()
|
||||
} catch (error) {
|
||||
|
|
Reference in a new issue