LINXD-2270-p2 #19
@ -20390,10 +20390,10 @@ remoteSoundControl.defaultMuted = true
|
|||||||
remoteSoundControl.addEventListener('click', function handleClick() {
|
remoteSoundControl.addEventListener('click', function handleClick() {
|
||||||
console.log('remoteSoundControl.textContent', remoteSoundControl.textContent);
|
console.log('remoteSoundControl.textContent', remoteSoundControl.textContent);
|
||||||
if (remoteSoundControl.textContent === 'Unmute') {
|
if (remoteSoundControl.textContent === 'Unmute') {
|
||||||
vid.muted = false
|
remoteSoundControl.muted = false
|
||||||
remoteSoundControl.textContent = 'Mute';
|
remoteSoundControl.textContent = 'Mute';
|
||||||
} else {
|
} else {
|
||||||
vid.muted = true
|
remoteSoundControl.muted = true
|
||||||
remoteSoundControl.textContent = 'Unmute';
|
remoteSoundControl.textContent = 'Unmute';
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -48,7 +48,7 @@
|
|||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<div id="sharedBtns">
|
<div id="sharedBtns">
|
||||||
<video id="remoteVideo" autoplay class="video" muted></video>
|
<video id="remoteVideo" autoplay class="video" muted controls></video>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -32,10 +32,10 @@ remoteSoundControl.defaultMuted = true
|
|||||||
remoteSoundControl.addEventListener('click', function handleClick() {
|
remoteSoundControl.addEventListener('click', function handleClick() {
|
||||||
console.log('remoteSoundControl.textContent', remoteSoundControl.textContent);
|
console.log('remoteSoundControl.textContent', remoteSoundControl.textContent);
|
||||||
if (remoteSoundControl.textContent === 'Unmute') {
|
if (remoteSoundControl.textContent === 'Unmute') {
|
||||||
vid.muted = false
|
remoteSoundControl.muted = false
|
||||||
remoteSoundControl.textContent = 'Mute';
|
remoteSoundControl.textContent = 'Mute';
|
||||||
} else {
|
} else {
|
||||||
vid.muted = true
|
remoteSoundControl.muted = true
|
||||||
remoteSoundControl.textContent = 'Unmute';
|
remoteSoundControl.textContent = 'Unmute';
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user