New to Kendo UI for jQuery? Start a free 30-day trial

Mute

methods

The value that indicates whether the player is muted.

Parameters:valueBoolean

The value indicates if the sound has to be muted.

Returns:Boolean

The current mute configuration.

<div id="mediaplayer"></div>
<script>
$("#mediaplayer").kendoMediaPlayer({
    autoPlay: true,
    media: { title: "Kendo UI for jQuery: Welcome and Overview", source: "https://www.youtube.com/watch?v=UbkbVBNYZMc" }
});
var mediaPlayer = $("#mediaplayer").data("kendoMediaPlayer");
setTimeout(function () {
    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);
  }, 1000);
</script>
Not finding the help you need?
Contact Support