Jul 22

Written by: Soul Solutions
Wednesday, 22 July 2009 

I have an application where the user configures what video should display on the screen. When the user changes the video source I want to show a frame from the video so they can see they’ve picked the correct file. On the MediaElement in WPF there’s no ShowFirstFrame property. So on the Source change of the media element I had to do the following:

videoMedia.ScrubbingEnabled = true;
videoMedia.Stop();

 

Technorati Tags: ,

Tags:

Your name:
Your email:
(Optional) Email used only to show Gravatar.
Your website:
Title:
Comment:
Security Code
Enter the code shown above in the box below
Add Comment   Cancel 
Copyright © 2002-2009 Soul Solutions Pty Ltd. | Login