Update
This commit is contained in:
parent
2ada7b66db
commit
968da6ea98
@ -20390,10 +20390,10 @@ remoteSoundControl.defaultMuted = true
|
||||
remoteSoundControl.addEventListener('click', function handleClick() {
|
||||
console.log('remoteSoundControl.textContent', remoteSoundControl.textContent);
|
||||
if (remoteSoundControl.textContent === 'Unmute') {
|
||||
vid.muted = false
|
||||
remoteSoundControl.muted = false
|
||||
remoteSoundControl.textContent = 'Mute';
|
||||
} else {
|
||||
vid.muted = true
|
||||
remoteSoundControl.muted = true
|
||||
remoteSoundControl.textContent = 'Unmute';
|
||||
}
|
||||
});
|
||||
|
@ -48,7 +48,7 @@
|
||||
</td>
|
||||
<td>
|
||||
<div id="sharedBtns">
|
||||
<video id="remoteVideo" autoplay class="video" muted></video>
|
||||
<video id="remoteVideo" autoplay class="video" muted controls></video>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -32,10 +32,10 @@ remoteSoundControl.defaultMuted = true
|
||||
remoteSoundControl.addEventListener('click', function handleClick() {
|
||||
console.log('remoteSoundControl.textContent', remoteSoundControl.textContent);
|
||||
if (remoteSoundControl.textContent === 'Unmute') {
|
||||
vid.muted = false
|
||||
remoteSoundControl.muted = false
|
||||
remoteSoundControl.textContent = 'Mute';
|
||||
} else {
|
||||
vid.muted = true
|
||||
remoteSoundControl.muted = true
|
||||
remoteSoundControl.textContent = 'Unmute';
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user