Skip to main content
Home Forums Silverlight Programming Silverlight Controls and Silverlight Toolkit Show Buffering Process and The Playing staus using rectangle slider fill
3 replies. Latest Post by HarshBardhan on September 3, 2008.
(0)
Abhi319
Member
122 points
52 Posts
09-03-2008 3:44 AM |
Hello ,
I have made a player in silverlight and in the player slider scruber I want to show the differnt color fill in rectangle during buffering and the color of rectangle difrent up to which the silder thumb placed over the slider.
Thanks
HarshBar...
Star
9908 points
1,719 Posts
09-03-2008 4:33 AM |
Hi,
You CAn do this by using Media element's Buffering Progress changed Event.
you can change color or you can use Different colour gradients according to your logic...
09-03-2008 5:55 AM |
I want some thing like that shown in the media player given in the link below:
http://www.jeroenwijering.com/?item=JW_WMV_Player
In that link ther is media player. When the Buffrering starts the slider rectangle starts filling with "Gray" color and after that when the media file starts playing the thumb also starts moving and the region behind the thumb starts filling with the "Black" color.
I want to do exactly the sam ething in my project!!! How can I do that.???
Plz Help me out!!!
Thanks in Advance
09-03-2008 9:19 AM |
You Can create a 3 Rectangle/Canvas (many options are there for this) kind of thing with some color and you can place all three above each other. Set Intially width of one as 100%. means full width.. Write some handler for DownloadProgressChanged or BuffreringProgresChanged event and in this change the width of Your Rectangle or Canvas(So it will look like a Progress Bar).