From f04a9075cc3bc6778e1d4875dfcd9cabc485bbe9 Mon Sep 17 00:00:00 2001 From: IgorA100 Date: Thu, 19 Mar 2026 10:39:29 +0300 Subject: [PATCH] When starting a stream on the Watch page, don't execute controlMute() (watch.js) When starting a stream on the Watch page, don't execute controlMute(), as this will cause the icon to be displayed before the stream actually starts playing. We'll just set the "muted" property for the stream. We'll manage the icon later. --- web/skins/classic/views/js/watch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/skins/classic/views/js/watch.js b/web/skins/classic/views/js/watch.js index 503b99dbf..b419ca872 100644 --- a/web/skins/classic/views/js/watch.js +++ b/web/skins/classic/views/js/watch.js @@ -836,7 +836,7 @@ function streamStart(monitor = null) { monitorStream.setPlayer($j('#player').val()); monitorStream.setBottomElement(document.getElementById('bottomBlock')); const cookieMuted = getCookie('zmWatchMuted'); - monitorStream.controlMute((cookieMuted === null || cookieMuted === 'true') ? 'on' : 'off'); // default to muted + 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