seq

banner art

Previous Next

seq

The seq element defines a time container that plays each media element in sequence, one right after the other.

Attributes

The following table identifies the attributes that are supported by Windows Media Services for the seq element. All attributes are optional.

Attribute Description
begin Specifies the time at which an element becomes active, relative to the start of its parent time container.
dur Specifies the simple duration of a media element.
end Specifies the time at which a media element stops playing, relative to the start of its parent time container.
syncEvent Sends a playlist synchronization event from the shared playlist for a publishing point to all client wrapper playlists.
id Uniquely identifies an element. This value must begin with a letter.
repeatCount Specifies the number of times that an element is repeated.
repeatDur Specifies the total duration of a repeated element.

Remarks

The WMS SMIL Playlist Parser plug-in enforces case sensitivity on the seq element.

The implicit start time of a media element in a seq time container is the active end of the previous element. Child elements of a seq element ignore all begin values other than offsets relative to the end of the previous element, or, for the first element, relative to the beginning of the seq time container.

Example Code

The following example uses the seq element to display a sequence of video clips. Each clip begins immediately after the prior clip ends.

<?wsx version="1.0"?>
<smil>
  <seq>
   <media src="c:\wmpub\wmroot\Clip_1.wmv" dur="10s" />
   <media src="c:\wmpub\wmroot\Clip_2.wmv" dur="10s" />
   <media src="c:\wmpub\wmroot\Clip_3.wmv" dur="10s" />
  </seq>
</smil>

See Also

Previous Next