Poster on video completion.

2 posts, 0 answers
  1. Mr. E
    Mr. E avatar
    1 posts
    Member since:
    Feb 2015

    Posted 15 Feb 2015 Link to this post

    Greetings,

    I am trying our the RadMediaPlayer and love the idea of having the poster before the video begins. However in order to use this I also need to poster to show after the video completes. Does anyone know how I can accomplish this? Truly I can't be the only one who has ever thought of this?! 

    I personally think it should be a configurable option that supports a different poster option. Maybe even with URL support similar to the banners.
  2. Eyup
    Admin
    Eyup avatar
    3005 posts

    Posted 19 Feb 2015 Link to this post

    Hi Bob,

    You can use the following approach to achieve this requirement:
    <telerik:RadMediaPlayer ID="RadMediaPlayer1" runat="server" Width="640px" Height="360px"
        Source="~/Video/video1.mp4" Poster="~/cancel.png" OnClientEnded="playerEnded">
    </telerik:RadMediaPlayer>
    JavaScript:
    function playerEnded(sender, args) {
        $get('<%= RadMediaPlayer1.ClientID %>' + "_video").load();
    }

    You can also log a feature request about this requirement in our public portal and our developers may consider adding them for the future releases:
    http://feedback.telerik.com/Project/108


    Hope this helps.

    Regards,
    Eyup
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top