seek

Proceeds the video to a certain time.

Example

<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");
    // Starts playing the video at the first second
    mediaPlayer.seek(1000);
},1000)

</script>

Parameters

milliseconds Number

The time offset in milliseconds.

Returns

Number The current seek configuration.

In this article
seek
Not finding the help you need?
Contact Support