diff --git a/public/bundle.js b/public/bundle.js index a137082..28e6a0d 100644 --- a/public/bundle.js +++ b/public/bundle.js @@ -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'; } }); diff --git a/public/index.html b/public/index.html index 9e54055..8079794 100644 --- a/public/index.html +++ b/public/index.html @@ -48,7 +48,7 @@
- +
diff --git a/public/index.js b/public/index.js index 1b1de28..e6f3423 100644 --- a/public/index.js +++ b/public/index.js @@ -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'; } });