Windows Media Player Control SDK Banner Art
*Contents *Index  *Topic Contents
*Previous Topic: DVD Error Codes
*Next Topic: ABSTRACT

ASX Elements Reference

Advanced Stream Redirector (ASX) files are based on the Extensible Markup Language (XML) syntax, and are made up of various elements with their associated tags and attributes. Each element in an ASX file defines a particular setting or action to the Microsoft® Windows Media™ Player. Some elements must be located in a specific position in the file relative to other elements. Some elements have required tags and attributes that must be defined in the ASX file. Element names and attributes are not case-sensitive.

The most important part of successfully using ASX files is the correct syntax of the ASX elements. Syntax errors in an ASX file can cause anything from a single attribute being overlooked, to the ASX file not being recognized as valid and failing to work at all. Almost as important is the order in which the elements appear in the ASX file. The attributes of some elements temporarily override the attributes of similar elements in different sections of the ASX file.

Important:

For more information about ASX elements, see the following sections, each of which contains a definition of the element, its attributes and their values, and special conditions related to the element:

Element Description
ABSTRACT Contains text that represents a description of the associated ASX, BANNER, or ENTRY element.
ASX Defines a file as an ASX file.
AUTHOR Contains a text string representing the name of the author of an ASX file or media clip.
BANNER Defines a URL to a graphic file that will appear in the display panel.
BASE Defines a URL string appended to the front of URLs sent to the Windows Media Player.
COPYRIGHT Defines a text string specifying the copyright information for an ASX or ENTRY element.
DURATION Defines the length of time the Windows Media Player will render a stream.
ENDMARKER Specifies a marker at which the Windows Media Player will stop rendering the stream.
ENTRY Defines a clip.
ENTRYREF Links to the ENTRY elements in an external ASX file.
EVENT Defines a behavior or action taken by the Windows Media Player when it receives a script command labeled as an event.
LOGO Specifies a graphic file to display as a logo.
MOREINFO Specifies a URL to a Web site, e-mail address, or script command associated with a show, clip, or banner.
PARAM Defines an custom parameter associated with a clip.
PREVIEWDURATION Defines the length of time a clip plays in preview mode.
REF Specifies a URL for a piece of media content.
REPEAT Defines the number of times the Windows Media Player repeats one or more ENTRY or ENTRYREF elements.
STARTMARKER Specifies a marker from which the Windows Media Player will start rendering the stream.
STARTTIME Defines a time index from which the Windows Media Player will start rendering the stream.
TITLE Defines a text string specifying the title for an ASX or ENTRY element.

Top of Page Top of Page
© 1999 Microsoft and/or its suppliers. All rights reserved. Terms of Use.