autoPlayBoolean
(default: false)
If set to true
, the widget will start playing the video or videos after initializing.
Example - enable automatic play
<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" }
});
</script>
In this article