function toggleMute() {
	if (mediaPlayer.muted) {
		// Change the button to be a mute button
		changeButtonType(muteBtn, 'player sound-on','Mute');
		//muteBtn.src = "/img/icons/sound.png";
		mediaPlayer.muted = false;
		volumeStatus.value = 100; 
	}
	else {
		// Change the button to be an unmute button
		changeButtonType(muteBtn,'player sound-off', 'Unmute');
		//muteBtn.src = "/img/icons/sound-off.png";
		mediaPlayer.muted = true;
		volumeStatus.value = 0;	
	}
}
// Toggles the media player's mute and unmute status
Toggles the media player's mute and unmute status
Toggles the media player ' s mute and unmute status
function toggleMute() {
	if (mediaPlayer.muted) {
		changeButtonType(muteBtn, 'player sound-on','Mute');
		mediaPlayer.muted = false;
		volumeStatus.value = 100; 
	}
	else {
		changeButtonType(muteBtn,'player sound-off', 'Unmute');
		mediaPlayer.muted = true;
		volumeStatus.value = 0;	
	}
}
function toggleMute ( ) { if ( mediaPlayer . muted ) { changeButtonType ( muteBtn , 'player sound-on' , 'Mute' ) ; mediaPlayer . muted = false ; volumeStatus . value = 100 ; } else { changeButtonType ( muteBtn , 'player sound-off' , 'Unmute' ) ; mediaPlayer . muted = true ; volumeStatus . value = 0 ; } }
Toggles the media player's mute and unmute status
Toggles the media player ' s mute and unmute status
// Change the button to be a mute button //muteBtn.src = "/img/icons/sound.png"; // Change the button to be an unmute button //muteBtn.src = "/img/icons/sound-off.png";