내보내기(0) 인쇄
모두 확장
EN
이 콘텐츠는 한국어로 제공되지 않아 영어 버전으로 표시됩니다.

Windows Media Player 11 SDK Using Playlists in Windows Media Download Packages (deprecated) 

Windows Media Player SDK banner art
PreviousNext

Using Playlists in Windows Media Download Packages (deprecated)

This page documents a feature that may be unavailable in future versions of Windows Media Player and the Windows Media Player SDK.

Playlists are Windows Media metafiles with an .asx file name extension that provide information that tells Windows Media Player how to play the packaged content. By combining multiple content files into a single Windows Media Download package, you can control and customize your Windows Media Download package by using the playlist.

Note   In general, metafile playlists are used by Windows Media Download packages to reference the multimedia content in the package rather than a stream from a server on an intranet or the Internet. However, URL references within the .asx file are supported.

Using XML, the metafile provides the information Windows Media Player uses to play and display content. Playlists are made up of various XML code elements with their associated tags and attributes. Each element in a Windows Media metafile playlist defines a particular setting or action in Windows Media Player.

The user's computer associates a Windows Media metafile that has an .asx file name extension with Windows Media Player. Windows Media Player opens and parses the XML code in the metafile, which contains the path for locating the packaged audio or video files. The metafile script then controls the audio, video, and graphical experience. The metafile also contains information that Windows Media Player processes and displays in the playlist drop-down box. Immediately after the list is displayed, the first item in the list is played.

A metafile playlist is a shortcut to the files that contain your packaged content. The following code is an example of a metafile that specifies the border to display by using the SKIN element, two songs to be played, and the playlist information for each song.

<ASX Version="3.0">
<AUTHOR>Name of content creator goes here</AUTHOR>
<TITLE>Album Title goes here</TITLE>
<PARAM name="Album" value="Album Title "/>
<PARAM name="Artist" value="Artist Name"/>
<PARAM name="Genre" value="Genre"/>
<SKIN HREF="myborder.wmz"/>
    <ENTRY>
        <REF HREF="song1.wma"/>
        <AUTHOR>Creator's name</AUTHOR>
        <COPYRIGHT>Copyright information</COPYRIGHT>
        <TITLE>Song #1 title</TITLE>
    </ENTRY>
    <ENTRY>
        <REF HREF="song2.wma"/>
        <AUTHOR>Creator's name</AUTHOR>
        <COPYRIGHT>Copyright information</COPYRIGHT>
        <TITLE>Song #2 name</TITLE>
    </ENTRY>
</ASX>

See Also

PreviousNext
Microsoft는 MSDN 웹 사이트에 대한 귀하의 의견을 이해하기 위해 온라인 설문 조사를 진행하고 있습니다. 참여하도록 선택하시면 MSDN 웹 사이트에서 나가실 때 온라인 설문 조사가 표시됩니다.

참여하시겠습니까?
표시:
© 2014 Microsoft