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

Poster on video completion.

1 Answer 49 Views
MediaPlayer
This is a migrated thread and some comments may be shown as answers.
Mr. E
Top achievements
Rank 1
Mr. E asked on 15 Feb 2015, 12:54 PM
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.

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 19 Feb 2015, 09:15 AM
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.

 
Tags
MediaPlayer
Asked by
Mr. E
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or