Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
.gif)
| Previous | Next |
Using a Metafile Playlist
Because you cannot link directly from a Web page to a streaming media server, you use metafile playlists. The metafile playlists contain the information needed by Windows Media Player and are stored on a Web server. You can then link from the Web document to a metafile playlist. When a metafile playlist is opened, control transfers to Windows Media Player, which processes the file, connects to the streaming media server, and plays the specified content.
The browser first downloads the metafile playlist to the user's cache directory. Because the metafile playlist is small, this is a very quick step. The user's computer then finds in its file associations table the association of the metafile playlist with Windows Media Player. Windows Media Player opens and interprets the scripting in the metafile playlist, which contains, among other things, the URL of the streaming content. Windows Media Player uses the URL to locate the content and initiate the stream. The metafile playlist scripting then controls the streaming experience.
Because metafile playlists work through a helper application associated with the ASXMIME type (application/mplayer2 or video/x-ms-asf), they are compatible with any browser that supports helper applications. The examples shown in this document will work with Microsoft Internet Explorer 4.0 and later, and with Netscape Navigator 4.0 and later on Microsoft Win32® and Apple Macintosh platforms. In all examples, you will have to be sure that any digital media files referenced have valid paths and file names for your environment.
See Also
| Previous | Next |