Silverlight Video Player updated to display Closed Captioning
July 19, 2008 @ 8:02 am in CodePlex, Microsoft, Open Source, Silverlight
Yesterday I completed the first version of Closed Captioning support for the Silverlight 2 Video Player on CodePlex. It definitely in an alpha phase, but with some polish it should be reliable and more usable. Here is an image of how the captions are being displayed.

In this first version I made a decision to display closed captioning when the volume is muted, but with the right visualization we should be able to find a nice place for a ToggleButton. Here is a list of a few other things I did to the project.
- Updated Xml parsing to support markers with multiple types (Marker, CC, etc)
- Converted speaker button control to ToggleButton to display a different visualization when the player is muted.
- Linked volumeSlider to speaker button so slider drops to zero on mute and back to previous volume when mute is turned off.
- Added a new event from mediaControl that is fired when the volume is changed. This allows the player to control closed captioning display and not the media controller.
- Wrote closedCaptioning UserControl that visualizes the scrolling captions.

Tagged as 

July 21st, 2008 at 2:40 am
[...] now THAT’s pretty darn cool… and there’s a demo on the blog post right there with source! Silverlight Video Player updated to display Closed Captioning Joel Neubeck keeps picking at the video player that he’s got up on CodePlex… this time in addition [...]
July 21st, 2008 at 3:08 pm
The current version won’t compile.
July 25th, 2008 at 4:51 am
Thanks Joel, i am unable to run the demo application. It is showing the play button only. is there any version dependent code or else wrong plugin installed?
i am using latest version of silverlight
August 28th, 2008 at 10:53 am
The version of the player you link to at codeplex still says version 1.0.0. Is this the updated one? I’m trying to get the CC to work but it doesn’t seem to recognize the CC intparam, or even some of the others like thumbnail. Thanks.