Windows Media Player Control SDK Banner Art
*Contents *Index  *Topic Contents
*Previous Topic: BANNER
*Next Topic: COPYRIGHT

BASE Element

Defines a URL string appended to the front of URLs sent to the Microsoft® Windows Media™ Player control.

Syntax

<BASE
   HREF="URL"
/>

Attributes

HREF (required)
The string appended to the front to URLs sent to the Windows Media Player control. The default value is null.

Parent/Child Information

Parent elements ASX, ENTRY
Child elements None

Remarks

This element defines a Uniform Resource Locator (URL) string appended to the front of URL-flip URLs sent to the Windows Media Player control. URL-flipping is a scripting mechanism that causes the Windows Media Player to open a new URL in a browser or browser frame when it receives a script command.

The BASE element is similar to a home directory for relative links. It only affects URLs sent using script commands as part of the content stream that is playing in the Windows Media Player.

A BASE element defined as the child of an ASX element becomes the default for the entire Advanced Stream Redirector (ASX) file. A BASE element defined in an ENTRY element overrides any BASE element in the parent ASX element (for that ENTRY element only).

Note: If the HREF attribute does not end with a '/' character, the Windows Media Player appends one to the end of the string.

Example

<BASE HREF="http://samples.microsoft.com/" />

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