Windows Media : ASX Features

Goal: To create a moderately advanced ASX file. An ASX file is an eXtensible Markup Language (XML)-based text file which references a Uniform Resource Locator (URL) for a piece of media content. By using more advanced features of the ASX, you can do a host of things, such as: string multiple clips together, include meta data (title, author, copyright information), banner ads, and much more.

Code to Include
As before, to reference an ASX file, simply add the following code to your Web page:

Link to Streaming Content
The browser will open this file and then launch the Windows Media Player to play this content.

Code Examples

The code behind this ASX is extensively commented, piece by piece, to show you exactly how each tag functions.

Look at the code in this sample ASX file by clicking on the "View Source" drop-down box above.

Browser/Platform Compatibility

Since ASXs work through a helper application, they are compatible with any browser that supports helper applications. This sample requires Internet Explorer 4.0 and greater, or Netscape Navigator 4.0 and greater on the Win32 or Mac platforms.

Complete Article

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.