RadMediaPlayer shows black screen after the end of video.

2 posts, 0 answers
  1. Bill Delisi
    Bill Delisi avatar
    4 posts
    Member since:
    Mar 2010

    Posted 08 Jan Link to this post

    I want to play a youtube video in RadMediaPlayer.
    After end of a video , the RadMediaPlayer shows a black screen .
    But I do not want to display the black screen and after end of a video
    I want to display same look as I saw at the begin.

    what can I do for this ??

    Thanks,

    Firoz Mondal

  2. Eyup
    Admin
    Eyup avatar
    3005 posts

    Posted 12 Jan Link to this post

    Hello Bill,

    I am afraid you cannot achieve this requirement using a YouTube source, because they do not provide logic for repeating implementations. As for a local source, you can use:
    <telerik:RadMediaPlayer ID="RadMediaPlayer1" runat="server"
        Height="360px" Width="640px" Source="~/Video/chin.mp4"
        OnClientEnded="playerEnd">
    </telerik:RadMediaPlayer>
    JavaScript:
    function playerEnd(sender, args) {
        sender.set_currentTime(0);
    }

    Hope this helps.

    Regards,
    Eyup
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top