test
This commit is contained in:
parent
4b0d3433c5
commit
bf29f728f0
1 changed files with 3 additions and 1 deletions
|
@ -73,7 +73,9 @@ export const addVideoStream = (videoContainer, username, stream, isYours) => {
|
|||
if (CSS.supports("::-webkit-media-controls-panel"))
|
||||
video.controls = "controls"
|
||||
video.addEventListener("loadedmetadata", async () => {
|
||||
video.muted = true
|
||||
if (isYours) {
|
||||
video.muted = true
|
||||
}
|
||||
try {
|
||||
await video.play()
|
||||
} catch (error) {
|
||||
|
|
Reference in a new issue