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

Display Media Item Image in Play Area

1 Answer 57 Views
MediaPlayer
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 2
Robert asked on 22 Oct 2009, 03:58 PM
Hi There,

I am creating a Welcome screen that pops up to a user the first time the run the application.  I don't want the video to play right away but I want to show an image in the area where the video will be playing if they hit the play button, not just a black screen.  How do I do this?

Thanks,
Rob

1 Answer, 1 is accepted

Sort by
0
Kiril Stanoev
Telerik team
answered on 23 Oct 2009, 06:59 AM
Hello Robert,

The easiest and most straightforward way to achieve this is by overlaying an image right above RadMediaPlayer. Then you can attach to the CurrentStateChanged event of RadMediaPlayer's MediaElement and toggle the visibility of the image.

I am attaching a sample project demonstrating this functionality. Let me know how it works for you.

Best wishes,
Kiril Stanoev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
MediaPlayer
Asked by
Robert
Top achievements
Rank 2
Answers by
Kiril Stanoev
Telerik team
Share this question
or