mute

The value that indicates whether the player is muted.

Example

<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>

Parameters

value Boolean

The value indicates if the sound has to be muted.

Returns

Boolean The current mute configuration.

In this article
mute
Not finding the help you need?
Contact Support