Edit this page

isEnded

Gets a value indicating whether the media has finished playing.

Returns

Boolean A value indicating whether the media has finished playing.

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 if the video has finished
mediaPlayer.isEnded();
</script>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy