Worldwide | Login | Contact Us
  
HomeProducts and ServicesIndustry SolutionsSupportCompany
 
SMIL SWITCHING
Support
Customer Education
Code Samples
SMIL
SMIL basics
Ram & SMIL Sources
Color & Transparency
Groups
Layout
Timing
Hyperlinking
Transitions
Animations
Switching

LANGUAGE SWITCHING
RealOne Player users can set preferences for a specific language when they install RealOne Player. They can also change the preference by giving the Tools>Preferences command, then choosing the Content tab. These preferences correspond to codes defined in the systemLanguage attribute.

Sample File Description Featured Illustrated Reference
languageswitch.smil Semi-transparent French or Spanish subtitles overlay a video if you set your RealOne Player language preference to any variation of French or Spanish. systemLanguage attribute using multiple clips and inline switching, along with the rn:backgroundOpacity attribute for RealText clips click here
languageswitch2.smil Similar to the preceding sample, the subtitles are opaque and display below the video clip. systemLanguage attribute using multiple clips and inline switching click here
contextswitch.smil Different SMIL files play if you set your RealOne Player language preference to French, Spanish, Swedish, or Japanese. master SMIL file used to switch between referenced SMIL files click here
smilswitch.smil The same clip plays, but a different related info page appears if you set your RealOne Player language preference to French, Spanish, Japanese, or Swedish. systemLanguage attribute on multiple <area/> tags in a <switch/> group click here

SYSTEM CAPTIONS SWITCHING
Hearing-impaired viewers can set a RealOne Player preference to display captions. The following samples demonstrate several ways to add system captions using RealText. The captions display only when you turn on captions display in the RealOne Player Contents preference (Tools>Preferences>Content).

Sample File Description Featured Illustrated Reference
videocaptions1.smil RealText captions with a semi-transparent background overlay a video only if the captions preference is on. systemCaptions attribute and overlaying regions click here
videocaptions2.smil RealText captions appear beneath the video. If the captions preference is off, a filler clip appears in place of the captions. systemCaptions attribute and side-by-side regions click here
videocaptions3.smil The video's playback area resizes and includes the captions area only if the captions preference is on. systemCaptions attribute and multiple layouts in a <switch> group click here
videocaptions4.smil Similar to the preceding sample, this sample includes buttons that cycle the captions between three different sizes. <set/> animation tags that resize the captions region click here

PLAYER VERSION CHECKING
Using SMIL 1.0 attributes, you can check whether the viewer is using RealOne Player, or RealPlayer 7 or 8. This lets you add SMIL 2.0 features for RealOne Player, while keeping the presentation compatible with RealPlayer 7 and 8.

Sample File Description Featured Illustrated Reference
compatible.smil In RealPlayer 7 or 8, a video plays. In RealOne Player, a semi-transparent logo overlays the video. system-required and systemComponent attributes click here

Real Site Map | Privacy Policy | Legal Notice/Terms of Use | Advertising | Real.com