seek

Proceeds the video to a certain time.

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

Parameters

milliseconds Number

The time offset in milliseconds.

Returns

Number The current seek configuration.

In this article