This topic has not yet been rated - Rate this topic

media Element

Applies to: desktop apps only

The media element specifies one of the media items in a playlist.

<media
    src = "URL"
    cid = "WPL_GUID"
    tid = "WPL_GUID"
>
</media>

Attributes

TermDescription

src (required)

The URL of a media item.

cid

The content ID that is unique to this media item.

tid

The tracking ID that can be used to track the File System Object for this media item.

 

Parent/Child Elements

HierarchyElements
Parent seq
ChildNone

 

Remarks

The cid attribute (the content ID) is populated by the Windows Media Player as a way to uniquely identify a piece of media content even if its metadata attributes have been changed. This allows the sharing of playlists across computers, because the content can be identified on another computer, and the path to it can be "auto-repaired" by the Windows Media Playlist. The tid attribute (the tracking ID) uses the Windows file system to auto-repair the path to the media if the name or location of the file is changed.

Examples


<media
    src = "laure.wma"
    cid = "ABCDEFGH-abcd-1234-WXYZ-ABCDEF000000"
    tid = "12345678-1234-abcd-ABCD-123456abcDEF"
>
</media>

Requirements

Version

Windows Media Player 9 Series or later.

See also

seq Element
Windows Media Playlist Elements Reference

 

 

Send comments about this topic to Microsoft

Build date: 2/15/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ