Windows Media Player SDK banner art
PreviousNext

ClosedCaption.SAMILang

The SAMILang property specifies or retrieves the language displayed for closed captioning.

Syntax

player.closedCaption.SAMILang

Possible Values

This property is a read/write String.

Remarks

A Synchronized Accessible Media Interchange (SAMI) file can contain text for one or many languages. The languages available for closed captioning are defined between the <STYLE> and </STYLE> tags in the SAMI file. A language is specified with a unique alphanumeric string that is preceded by a period (.). For example, .ENUSCC could be used to define US English.

If no SAMI language is specified, the first language defined in the SAMI file is used by default.

See Also

PreviousNext


© 2000-2001 Microsoft Corporation. All rights reserved.