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 us

ITPro Today

February 18, 2002

1 Min Read
ITPro Today logo in a gray background | ITPro Today

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

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like