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

Volume

methods

Gets or sets a value between 0 and 100 that specifies the volume of the video.

Parameters:valueNumber

The value between 0 and 100 that specifies the volume of the player.

Returns:Number

The current volume 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" }
});

setTimeout(function () {
    // get a reference to the media player widget
    var mediaPlayer = $("#mediaplayer").data("kendoMediaPlayer");
    // check the current volume of the player
    mediaPlayer.volume();
    // sets the current volume to 50
    mediaPlayer.volume(50);
  }, 1000);
</script>
Not finding the help you need?
Contact Support