How do I stream Windows Media files?
Article ID#:
3879
Creation Date:
Oct-10-2002
Updated Last:
May-26-2004

Summary: How to stream .asf Windows media files.


Keywords: streaming, xml, asf, asx, media, video, HTTP, video, audio, .asf, asx, wax, metafiles, metafile
Description: a description goes here


You can stream .asf Windows Media files by adding a hyperlink on your Web page to an .asx or .wax metafile that contains a URL to your Windows Media file. When a browser downloads a file with one of these extensions from a Web site, it opens Windows Media Player. Windows Media Player then locates and plays the content specified in the file.

To stream Windows Media files, perform the following steps:

Step one: Upload your .asf Windows Media file to your site via FTP, using Binary mode. If you are not familiar with uploading files to your site via FTP, go to How do I publish my Web page using WS_FTP? (Windows).

Step two: Create an .asx metafile.

Note: To learn how to create this file, go to How do I create an .asx metafile? (Windows)

Step three: Upload your .asx metafile to your site via WS_FTP using ASCII mode.

Step four: Insert the following HTML hyperlink code between the <BODY></BODY> tags of the HTML source for your Web page:

<ahref="http://forexample-domain.com/metafile.asx">Click here to listen to a Windows Media file!</a>

Note: Replace 'forexample-domain.com' with your domain name, and replace '/metafile.asx' with the path and name of your metafile.

Back to top ^