Introduction

You must have come across a couple of Silverlight media players on the internet. Here are some cool features that I have given in mine:

Full screen mode

Vertical sliding menu in normal mode

Horizontal sliding menu in full screen mode

Standard control panel

Drag n Drop play from menu in normal mode

Moreover, I have used basic Silverlight features like animation using storyboards, Silverlight user controls, media element, control transforms, gradient brushes and LINQ for data access. So it's a good example for Silverlight beginners to start with.

NOTE: I have not included the video files with the demo application attached with the article because of large file sizes. But you can use any Silverlight compatible media format files that are given on the MSDN site:

I have seen quite a few sliding image gallery controls on the internet, but all were JavaScript based. I've never been a fan of JavaScript myself, so I thought I would write my own user control for those C# lovers. I hope you find it useful considering that I have given an idea of how to make it parameterized for different sizes and count of images shown. I always try to keep some things incomplete in my article for the readers to try out themselves.

This example should be a good sandbox to build your custom features around this standard media player. I would also be posting updates to this player soon.

Comments and Discussions

I am getting the error "The Project type is not supported by the installation." in Visual Studio 2008.In Visual Studio 2010 also, I am not able to open the solution.Is there any additional download of SP required ?