volume

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

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

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
volume
Not finding the help you need?
Contact Support