Silverlight Video Player updated to display Closed Captioning

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.


3 Comments so far >>

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

The current version won’t compile.

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



Leave a comment

(required)

(required)