Sequential playlist (seq)

From A-SMIL.org
Revision as of 15:26, 6 April 2009 by SMIL T.A. (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The sequential playlist is the simplest form of playlists in SMIL.

In a sequential playlist, media objects are played in the order they are listed in the SMIL file. One media object starts playing after the preceeding one ends.

Simple loop

<seq repeatCount="indefinite">
 
  <video src="ad1.mpg" />
  <video src="ad2.mpg" />
  <img src="ad3.png" dur="5s" />
 
</seq>

Loop 2 videos and 1 JPEG indefinitely.

Nested loop

<seq repeatCount="indefinite">
 
  <video src="ad1.mpg" />
 
  <seq repeatCount="2">
    <video src="ad2.mpg" />
    <img src="ad3.png" dur="5s" />
  </seq>
 
</seq>

Plays the sequence: ad1, ad2, ad3, ad2, ad3 and repeats the entire sequence endlessly.

Related