meta 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 meta element specifies metadata that applies to the entire playlist.
<meta
name = "string"
content = "string"
/>
Attributes
Term | Description |
---|---|
name |
The name of an item of metadata. |
content |
The value of an item of metadata. For example, if the name attribute is "Genre" the content attribute could be "Rock". |
Parent/Child Elements
Hierarchy | Elements |
---|---|
Parent | head |
Child | None |
Remarks
The creator of a Windows Media Playlist can set the name attribute of a meta element to any string. The following list shows some typical name attributes that are found in Windows Media Playlists created by Windows Media Player and other Microsoft components.
- Author
- Category
- Genre
- UserName
- UserRating
- Generator
Examples
<head>
<meta name = "Author" content = "Frank Lee"/>
<meta name = "Category" content = "Classic"/>
<meta name = "Genre" content = "Rock"/>
</head>
Requirements
Requirement | Value |
---|---|
Version |
Windows Media Player 9 Series or later. |