The seq element is a time-container element that specifies the order in which its child elements are played. Child media elements within the seq element are played in order, from the first element to the last. Other types of elements contained in the seq element are also activated in order.
In the following example, Song1.wma plays first, and is followed
by the seq element containing Song3.wma and Song4.wma. The
repeatCount attribute is set to
2, meaning that
the two files within the seq element play in order twice.
Finally, Song2.wma plays.
<?wsx version="1.0"?> <smil> <media src="Song1.wma"/> <seq repeatCount="2"> <media src="Song3.wma"/> <media src="Song4.wma"/> </seq> <media src="Song2.wma"/> </smil>
Attributes modify the properties of a playlist element. You can use the following optional attributes with a seq element.
|begin||Specifies the amount of time until the seq element becomes active and its child elements start playing. For more information, see begin attribute.|
|dur||Specifies the length of time that a seq element is active and its child elements play. For more information, see dur attribute.|
|end||Specifies when the seq element becomes inactive and its child elements stop playing. For more information, see end attribute.|
|syncEvent||Specifies a string used to trigger the beginning or end of an element in a wrapper playlist. For more information, see syncEvent attribute.|
|id||Specifies a name for the seq element that can be referenced by other elements. For more information, see id attribute.|
|repeatCount||Specifies the number of times the elements within the seq element repeat before stopping. If no value is specified, the child elements are played once. For more information, see repeatCount attribute.|
|repeatDur||Specifies the length of time the elements within the seq element repeat before stopping. For more information, see repeatDur attribute.|