Difference between revisions of "SMIL Media Objects"
From A-SMIL.org
(Added soundLevel info) |
|||
Line 16: | Line 16: | ||
The <code>dur</code> attribute specifies duration of the still image during playback. | The <code>dur</code> attribute specifies duration of the still image during playback. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Audio (audio) == | == Audio (audio) == |
Revision as of 10:35, 16 September 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.
Audio (audio)
<audio src="music.mp3" />
Playing music in the background.
Sound Volume Control
For video and audio objects, you can specify the "sound level" attribute to control its audio volume.
<video src="ad1.mpg" soundLevel="20%" />
Valid values for soundLevel is from 0% (mute) to 100% (max).
Related
- SMIL Playlists: seq, par, and excl playlists
- SMIL Screen Layout: multi-zone, multi-layer layout
- Sending SMIL to Player