Show custom screen before playing is started

Jan 19, 2010 at 8:43 AM

I want to show custom content instead of video, before playing is lunched. Is it possible?

Jan 29, 2010 at 12:56 PM

I am in the same case.

 

Is it possible ?

Coordinator
Jan 29, 2010 at 5:40 PM

This sounds like a 'Poster' feature which SMF doesn't support at the moment.  However, you could implement this feature in your application by extending from the player.  The steps are (roughly) as follows:

*Extend from the Player

*In the template XAML for your player add a UI element to display your custom content (Image, ContentControl, etc).

*In your custom Player display your content when it loads.

*Hook into the mediaElement.CurrentPlaybackStateChanged event and look for mediaElement.CurrentPlaybackState == PlaybackState and hide your custom content.

 

Jan 29, 2010 at 8:15 PM

Ok.

 

Thanks for your reply. I will try that next week.

 

Guillaume