Media Player Time Change Error

0 Answers 21 Views
Top achievements
Rank 1
Esat asked on 25 Jun 2021, 05:36 AM

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) {
        autoPlay: true,
        navigatable: true,
        media: {
            title: title,
            source: "/api/record/GetRecordFile?recordId=" + recordId +"+&fileRequestType=1"
        timeChange: function () {

when i change time i can see the 'changed' log in console but video starting over again.

These ara my referances;

    <script src=""></script>
    <script src=""></script>
Thank you for all your help!
Georgi Denchev
Telerik team
commented on 29 Jun 2021, 01:11 PM

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.

No answers yet. Maybe you can help?

Asked by
Top achievements
Rank 1
Share this question