This is a migrated thread and some comments may be shown as answers.

Call Java script at the end of the play

1 Answer 70 Views
MediaPlayer
This is a migrated thread and some comments may be shown as answers.
Pradeep Deshpande
Top achievements
Rank 1
Pradeep Deshpande asked on 18 May 2017, 09:08 AM

Support,

OnClientEnded, i used this event to trigger a java script at the end of a Play.

 

Is there any way i could run a script at the end of video play.

If you have any example please share.

Thanks

 

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 22 May 2017, 06:19 AM
Hello Pradeep,

Yes, you can use the OnClientEnded event handler to catch the ending of the video. If you want the moment when the user intentionally pauses the video, you can use the OnClientPaused event instead:
http://docs.telerik.com/devtools/aspnet-ajax/controls/mediaplayer/client-side-programming/overview#client-side-events

I hope this will prove helpful.

Regards,
Eyup
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
MediaPlayer
Asked by
Pradeep Deshpande
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or