volume

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

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" }
});
// 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);
</script>

Parameters

value Number

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

Returns

Number The current volume configuration.

In this article