The updated Slider control in Silverlight 2 Beta 2 burned a number of developers, including myself. I relied heavily on the MouseLeftButtonDown and MouseLeftButtonUp events that are now handled by the Slider. Another feature lacking in the Slider is the ability to show the amount of content downloaded. This is a pretty standard feature of web based video players. Time to call the CustomControl to write a new Slider that enables you do both clicking on the slider track which moves the Thumb to the clicked location and adding a download progress indicator.
Here is the resulting control:
With the new Slider you can click on both the right and left sides of the Thumb to update the position.
Now you can send the DownloadProgress from the MediaElement to this control and it will update the the download progress bar.
The control is on CodePlex (Download the code).
Enjoy!



September 9th, 2008 at 3:09 pm
[...] with the Slider not recoginzing MouseLeftButtonUp or MouseLeftButtonDown events, check out the VideoSlider Possibly related posts: (automatically generated)Create memories of your day with the interactive [...]
September 10th, 2008 at 8:10 am
[...] Video Slider Control (Corey Schuman) [...]
September 11th, 2008 at 12:01 am
[...] Shumann takes the slider control one step further with his Video slider control Manish Dalal revisits Validation for Silverlight apps Mike Snow gives us his tip on How to [...]
September 12th, 2008 at 2:49 am
[...] Video slider control [...]
October 10th, 2008 at 2:25 pm
[...] VideoSliderControl is updated to reflect this change. Download the code. Date October 10th, 2008 Filed in [...]
October 13th, 2008 at 8:45 am
[...] month ago I released a Slider control specifically geared towards video. It includes a download progress indicator and the ability [...]
October 21st, 2008 at 8:31 am
Thanks a lot matte
Your work is nice …
January 5th, 2009 at 6:51 pm
I’m trying to use this control with the “Create a video player in Silverlight 2″ tutorial but it doesn’t appear on VS2008 editor neither on my Test page. My SL version is 2.0.31005.0 … any tips on this, am I doing something wrong? It doesnt throw errors, just it don’t appear.
January 5th, 2009 at 6:56 pm
Forget the previous post… its working now… there is a reason my nick is DumbUser
.. thanks for the great work
January 22nd, 2009 at 1:46 pm
[...] did modify the player to add functionality for play, pause, stop and volume controls, as well as a video slider I found that works very well. I’d like to compliment the folks on the Blueprint team for [...]
January 23rd, 2009 at 9:07 am
[...] on some really exciting projects. The two video projects he has worked on he’s used my VideoSlider control. They are both pretty high profile Silverlight [...]
May 4th, 2009 at 9:24 pm
nice, tutorial bro…