LINXD-2270-p2 #19

Closed
sergiu wants to merge 58 commits from LINXD-2270-p2 into develop
3 changed files with 5 additions and 5 deletions
Showing only changes of commit 968da6ea98 - Show all commits

View File

@ -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';
} }
}); });

View File

@ -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>

View File

@ -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';
} }
}); });