Compartir a través de


smil Element

[The feature associated with this page, Windows Media Player SDK, is a legacy feature. It has been superseded by MediaPlayer. MediaPlayer has been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer instead of Windows Media Player SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The smil element is always the top level element in a Windows Media Playlist (WPL) file. It specifies that the file uses SMIL (Synchronized Multimedia Integration Language) syntax and grammar.

<smil>
</smil>

Attributes

This element has no attributes.

Parent/Child Elements

Hierarchy Elements
Parent None
Child head, body

Remarks

Every Windows Media Playlist must have the smil element at its root.

Examples

<?wpl version = "1.0"?>
<smil>
    <head>
        <entity type="hellip"/>
    </head>

    <body>
        <entity type="hellip"/>
    </body>
</smil>

Requirements

Requirement Value
Version
Windows Media Player 9 Series or later.

See also

body Element

head Element

Windows Media Playlist Elements Reference