Hi, I use kendo ui for jquery media player in blazor project. On page load i call media player by this code;
await JSRuntime.InvokeAsync<string>("EmbedVideo", record.Id, record.Title);
and my javascript code is;
function EmbedVideo(recordId,title) {
$("#mediaplayer").kendoMediaPlayer({
autoPlay: true,
navigatable: true,
media: {
title: title,
source: "/api/record/GetRecordFile?recordId=" + recordId +"+&fileRequestType=1"
},
timeChange: function () {
console.log('changed')
}
});
}
when i change time i can see the 'changed' log in console but video starting over again.
These ara my referances;
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
<script src="https://kendo.cdn.telerik.com/2021.1.330/js/kendo.all.min.js"></script>
Hi, Esat,
Thank you for the provided code snippet.
I attempted to reproduce the described behavior in this dojo, however the video doesn't start over when I change the time.
Could you make a recording of you changing the time and demonstrate how the issue can be reproduced? Are there any errors in the console when you change the time? If the video file is very large, could you test the time change with a smaller file and see if that makes any difference?
I'll be looking forward to your reply.