Edit this page

mute

The value that indicates whether the player is muted.

Example

<div id="mediaplayer" />
<script>
$("#mediaplayer").kendoMediaPlayer({
    autoPlay: true,
    media: { title: "Digital Transformation: A New Way of Thinking", source: "https://www.youtube.com/watch?v=gNlya720gbk" }
});
var mediaPlayer = $("#mediaplayer").data("kendoMediaPlayer");

// mute the audio
mediaPlayer.mute(true);
//gets if the player is currently muted
mediaPlayer.mute();
// unmute the audio
mediaPlayer.mute(false);
</script>

Parameters

value Boolean

The value indicates if the sound has to be muted.

Returns

Boolean The current mute configuration.

Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy