Windows Media Player Control SDK Banner Art
*Contents *Index  *Topic Contents

SAMI Closed Captioning Sample

This sample is a simple HTML-based application that shows how to provide closed captioning for a multimedia stream. The sample plays audio and video content from an ASF file, and displays synchronized captioning from a SAMI (.smi) file. The SAMI file contains the text of the captions and the timing information for synchronizing the captions with the audio.

To run closed captioning sample application, open the Ccsample.htm file. By default it is installed in the Program Files\Windows Media Components\Sdk\Samples\Cc-sami directory. The Ccsample.smi file containing the captioning and the Ad.asf file containing the audio and video content are in the same directory.

The Media Player control uses the FileName property to locate the ASF file and the SAMIFileName property to locate the SAMI file.


Top of Page Top of Page
© 1999 Microsoft and/or its suppliers. All rights reserved. Terms of Use.