Windows Media Player 11 SDK Closed Captioning 

Windows Media Player SDK banner art

Previous Next

Closed Captioning

The Windows Media Player 6.4 ActiveX control includes an integrated closed caption display panel that, when made visible, enables Synchronized Accessible Media Interchange (SAMI) closed captions and displays the closed caption text. The Windows Media Player 7 or later control enables SAMI closed caption display by using an HTML <DIV> element. For example:

  

This technique provides you with complete flexibility, since you can design your Web page to display closed captions in a customized manner; the closed caption display is no longer required to be in a fixed location adjacent to the Windows Media Player user interface.

Once you have created an area to display closed captions, use the ClosedCaption.captioningID property to specify the location where Windows Media Player renders the closed caption text.

  

The Windows Media Player Software Development Kit (SDK) contains a working sample of an embedded Player that displays closed caption text. To get the SDK samples, download and install the complete Windows Media Player SDK from the Microsoft Web Site. For more information about closed captions and SAMI, see the Microsoft Accessibility Web site.

See Also

Previous Next