media.source String

String or an array of objects that hold the URL or URLs of the videos.

Example - specify a video

<div id="mediaplayer" />
<script>
$("#mediaplayer").kendoMediaPlayer({
    media: { title: "Digital Transformation: A New Way of Thinking", source: "https://www.youtube.com/watch?v=gNlya720gbk" }
});
</script>

Example - specify a video with alternative sources

<div id="mediaplayer" />
<script>
$("#mediaplayer").kendoMediaPlayer({
    media: {
        title: "Digital Transformation: A New Way of Thinking",
        source: [ { quality: "480p", url: "The480pVideoURL" }, { quality: "720p", url: "The720pVideoURL" } ]
    }
});
</script>
In this article
Not finding the help you need?