Κοινή χρήση μέσω


systemOverdubOrSubtitle Attribute

This topic documents a feature of HTML+TIME 2.0, which is obsolete as of Windows Internet Explorer 9.

Specifies whether overdubs or subtitles render during a presentation.

Syntax

HTML <ELEMENT systemOverdubOrSubtitle= ... >
Scripting N/A

Possible Values

overdub The user prefers to substitute one voice track for another.
subtitle The user prefers to display text in a language different from the one currently being used in the audio track.

Remarks

The systemOverdubOrSubtitle attribute evaluates to true if the user preference matches this attribute value; it evaluates to false if they do not match.

If the systemOverdubOrSubtitle attribute is used on an HTML element in a switch statement, you don't have to apply the time2 behavior to the HTML element.

To turn captions on or off, select the Use ShowSounds check box on the Sound tab of the Accessibility Options located in the Control Panel.

Example

This example demonstrates how to use the systemOverdubOrSubtitle attribute. If captioning (Use ShowSounds) is not set to on, the first t:AUDIO evaluates to true and starts to play. Otherwise, the second t:AUDIO evaluates to true and starts to play.

<HTML xmlns:t="urn:schemas-microsoft-com:time">
<HEAD>
<STYLE>
   .time{ behavior: url(#default#time2);}
</STYLE>
<?IMPORT namespace="t" implementation="#default#time2">
</HEAD>
<BODY timecontainer="seq">

<t:PAR>
    <t:SWITCH>
        <!-- If language is set to English and show sounds isn't checked, the
            following line evaluates true. -->        
        <t:AUDIO  src="ShowSoundsOff.wav" systemOverdubOrSubtitle="subtitle"
            systemLanguage="en" />
        <!-- If language is set to English and show sounds is checked, the
            following line evaluates true. -->
        <t:AUDIO  src="ShowSoundsOn.wav" systemOverdubOrSubtitle="overdub"
            systemLanguage="en" />
    </t:SWITCH>
</t:PAR>

</BODY>
</HTML>

Applies To

t:ANIMATE, t:ANIMATECOLOR, t:ANIMATEMOTION, t:ANIMATION, t:AUDIO, t:IMG, t:MEDIA, t:SEQ, t:SET, t:SWITCH, time2, t:VIDEO

See Also

Introduction to HTML+TIME, systemBitrate, systemCaptions, systemLanguage, time2