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.pull/4713/head
parent
4a518c5708
commit
f04a9075cc
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue