Windows Media Player SDK banner art
PreviousNext

Player6.SAMILang

This property specifies or retrieves a value indicating the language displayed for closed captioning.

Syntax

MediaPlayer.SAMILang

Possible Values

This property is a read/write String. If no language is specified, the default behavior is for closed captioning to display the first language defined in the Synchronized Accessible Media Interchange (SAMI) file.

Remarks

This property supports only English when the Windows Media Player control is embedded in a Web page viewed with Netscape Navigator.

A 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 can be specified by any unique alphanumeric string that is preceded by a period. For example, .ENUSCC could be used to define US English.

See Also

PreviousNext


© 2000-2001 Microsoft Corporation. All rights reserved.