Silverlight Video Player with Source Code
Here's a link to a silverlight video player with all the basic features like progress/seek slider, full screen toggle, play/pause/resume, etc. The player is meant to be relatively simple while still sporting the basic features you'd expect in a video player. Thanks to Nick Kramer (project manager at Microsoft) for creating this player.
A few notes:
- This code is targeted at Silverlight 3 Beta. For example, it uses CacheMode property to improve performance of stretching video.
- All the code is in MainPage.xaml & MainPage.xaml.cs, the other files are pure VS defaults
- Tim Heuer started 2 versions of the SL2VideoPlayer on CodePlex (https://sl2videoplayer.codeplex.com) -- one is *very* full featured (captions, markers, etc.) -- while there also is a fork called 'min' which does exactly what this one does here.
- Known limitations -- no adaptive streaming, not common to all sites. Minimal keyboard support (you can actually tab around but there's no focus rects), minimal accessibility support.
Comments
Anonymous
May 04, 2009
PingBack from http://blogs.msdn.com/silverlight_sdk/archive/2009/05/04/silverlight-video-player-source-code.aspxAnonymous
May 04, 2009
Thank you for submitting this cool story - Trackback from progg.ruAnonymous
May 04, 2009
Just a minor correction :-) -- there are 2 versions of the SL2VideoPlayer (http://sl2videoplayer.codeplex.com) -- one is very full featured (captions, markers, etc.) -- while there also is a fork called 'min' which does exactly what this one does here.Anonymous
May 06, 2009
Thanks Tim, I updated the post per your correction.Anonymous
July 21, 2009
The comment has been removed