Compartilhar via


body 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 body element contains the elements that define the contents of a playlist.

<body>
</body>

Attributes

This element has no attributes.

Parent/Child Elements

Hierarchy Elements
Parent smil
Child seq

Remarks

The contents of a playlist are organized within a seq element that is contained within the body element. Typically there is either one seq element that defines a static set of media items and contains media elements, or there is one that defines a dynamic set of media items and contains a smartPlaylist element.

Examples

<body>
    <seq>
        <media></media>
        <media></media>
        <media></media>
    </seq>
</body>

<body>
    <seq>
        <smartPlaylist></smartPlaylist>
    </seq>
</body>

Requirements

Requirement Value
Version
Windows Media Player 9 Series or later.

See also

media Element

seq Element

smartPlaylist Element

smil Element

Windows Media Playlist Elements Reference