Skip to main content

Microsoft Silverlight

Unanswered Question Show Buffering Process and The Playing staus using rectangle slider fillRSS Feed

(0)

Abhi319
Abhi319

Member

Member

122 points

52 Posts

Show Buffering Process and The Playing staus using rectangle slider fill

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 

Abhishek Goel

HarshBardhan
HarshBar...

Star

Star

9908 points

1,719 Posts

Re: Show Buffering Process and The Playing staus using rectangle slider fill

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...

Mark as answer if this post answered your question.

Harsh Bardhan

Abhi319
Abhi319

Member

Member

122 points

52 Posts

Re: Show Buffering Process and The Playing staus using rectangle slider fill

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

 

Abhishek Goel

HarshBardhan
HarshBar...

Star

Star

9908 points

1,719 Posts

Re: Show Buffering Process and The Playing staus using rectangle slider fill

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).

Mark as answer if this post answered your question.

Harsh Bardhan
  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities