Call Java script at the end of the play

2 posts, 0 answers
  1. Pradeep Deshpande
    Pradeep Deshpande avatar
    10 posts
    Member since:
    Sep 2009

    Posted 18 May Link to this post

    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

     

  2. Eyup
    Admin
    Eyup avatar
    3333 posts

    Posted 22 May Link to this post

    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.
Back to Top