Archive for May 15th, 2010

New Silverlight Video Tutorial: How to Create Fast Forward for the MediaElement

Hello All!

As you probably already know there is no “built-in” way to accomplish Fast Forward with the Silverlight MediaElement.  So, in this 24 minute video I show you how to:

1. Create a new Silverlight application;
2. Add a MediaElement, a Fast Forward Button and a TextBlock for the video’s position information;
3. Create a PlayState Enum and a DispatcherTimer
4. Then on click of the button I show you how to a. Make the video Fast Forward at 1x speed and b. click it again for 2x speed.

If you are doing video this is a must for any self-respecting video player!

Enjoy!

Video: http://tinyurl.com/3933h8t
Demo (see the Fast Forward button in action here): http://tinyurl.com/32kfu8q
Download my Source Code: http://tinyurl.com/265n5he

(My Source code is not downloading well for me and a few others, if that is the case Michael Washington, MVP has hosted the source on his servers: download here: http://tinyurl.com/2dwgsnm)  Thank you Michael

Advertisements
Advertisements