Merge pull request #4713 from IgorA100/patch-792734

Fix: Read from 'zmWatchMuted' cookies instead of 'zmWatchMute' on Watch page
This commit is contained in:
Isaac Connor
2026-03-21 06:43:07 -04:00
committed by GitHub

View File

@@ -835,7 +835,8 @@ function streamStart(monitor = null) {
monitorStream.setPlayer($j('#player').val());
monitorStream.setBottomElement(document.getElementById('bottomBlock'));
monitorStream.controlMute(getCookie('zmWatchMute') || 'on'); // default to muted
const cookieMuted = getCookie('zmWatchMuted');
monitorStream.muted = (cookieMuted === null || cookieMuted === 'true') ? true : false; // default to muted
monitorStream.manageAvailablePlayers();
setChannelStream();
// Start the fps and status updates. give a random delay so that we don't assault the server