Difference between revisions of "SMIL Media Objects"
From A-SMIL.org
m (→Related) |
(Updated <smilText> sample code) |
||
Line 20: | Line 20: | ||
<source lang="smil"> | <source lang="smil"> | ||
− | <smilText textMode="crawl" region="ticker">Hello, world.</smilText> | + | <smilText textMode="crawl" region="ticker" textConceal="initial" textAlign="right" textColor="white" textFontSize="80px" textRate="80" dur="20">Hello, world.</smilText> |
</source> | </source> | ||
Revision as of 06:11, 3 May 2010
SMIL supports multimedia objects, including
Video (video)
<video src="ad1.mpg" />
A simple video played for its entire duration.
Still Image (img)
<img src="ad2.jpg" dur="5s" />
The dur
attribute specifies duration of the still image during playback.
Text (smilText)
<smilText textMode="crawl" region="ticker" textConceal="initial" textAlign="right" textColor="white" textFontSize="80px" textRate="80" dur="20">Hello, world.</smilText>
Crawling "Hello, world." across the top of a screen region.
Audio (audio)
<audio src="music.mp3" />
Playing music in the background.
Related
- SMIL Playlists: seq, par, and excl playlists
- SMIL Screen Layout: multi-zone, multi-layer layout
- Sending SMIL to Player