id

banner art

Previous Next

id

The id attribute uniquely identifies an element.

Syntax

  id = String-value

Remarks

The id attribute must begin with a letter. The letter can be followed by more letters, digits, and hyphens. A hyphen cannot be immediately followed by a digit.

The WMS SMIL Playlist Parser plug-in enforces case sensitivity on the id attribute.

Example Code

In the following example, the first media element in the playlist is identified by "Intro". The second media element uses this ID to specify that it begins 30 seconds after "Intro" ends.

<?wsx version="1.0"?>
<smil>
    <media id="Intro" src="c:\wmpub\wmroot\introduction.wmv" dur="60s" />
    <media id="Movie" src="C:\wmpub\wmroot\movie.wmva" 
                begin="Intro.end+30s" />
</smil>

See Also

Previous Next