Amazon.com Widgets Sample Scrolling Silverlight Video Playlist 2.0

WilliaBlog.Net

I dream in code

About the author

Robert Williams is an internet application developer for the Salem Web Network.
E-mail me Send mail
Code Project Associate Logo

Recent comments

Archive

Authors

Tags

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.


Sample Scrolling Silverlight Video Playlist 2.0

Since the release of Silverlight 2, there have been a number of requests for me to update my Scrolling Silverlight Video Playlist Sample and I have finally made the time to do just that. I feel it is important to point out that Microsoft Expression Encoder 2 Service Pack 1 is now out and it ships with a handful of new Player templates just for Silverlight 2 including two with a built in Scrolling playlist feature (Frosted Gallery and Silverlight 2 Gallery). 

Still, partly because not everyone has Expression Encoder 2 and mostly because I felt it would be educational to do so, I went ahead and rebuilt the Scrolling Silverlight Video Playlist sample from the ground up for Silverlight 2 in C# and here it is:

This time, instead of using a player from the growing Expression Encoder template library, I went with the opensource Blacklight player which is a nice lightweight player. And rather than add my scroll widget directly to the player as I did with version 1.0, I chose to keep it seperate, and created a 'ScrollWidget' User Control that could be used in other projects (for example as a thumbnail scroller for photos, or as a toolbar) with only minor modification.

As always, the complete source code is available:

ScrollingPlaylist2.zip (1.22 mb)

[ Special thanks to Sean at FlawlessCode.com for developing this Silverlight Extension for BlogEngine.NET ]


Categories: C# | Silverlight
Posted by Williarob on Thursday, April 30, 2009 8:47 AM
Permalink | Comments (5) | Post RSSRSS comment feed

Comments (5) -

Blog Design Expert United States | Reply

Monday, June 14, 2010 8:25 AM

Blog Design Expert

Neat video playback app. I will definitively give it a try. It should be a real time saver.
Thanks for sharing.

Übersetzung Japanisch Deutsch United States | Reply

Tuesday, June 15, 2010 3:26 PM

Übersetzung Japanisch Deutsch

This really helps.

Elina Bowser United Kingdom | Reply

Saturday, July 24, 2010 2:35 AM

Elina Bowser

Great example, I am going to use this for the video's i display on my site.

Hampers United Kingdom | Reply

Tuesday, November 30, 2010 1:19 PM

Hampers

So does this play video or is it just images? If it plays videos what formats can we use? Also can you make the thumbnails at the bottom start playing through as well or do they have to be a static image?

Rob United States | Reply

Tuesday, December 14, 2010 12:49 PM

Rob

Since it was developed by Microsoft, Silverlight's MediaElement control plays only Windows Media, MP4, MP3, ASX files. The images you are seeing are actually wmv video clips. The thumbnails at the bottom are only static images in this example, but could be converted videos if you replace the image controls with more MediaElements.

Add comment




  Country flag
biuquote
  • Comment
  • Preview
Loading