Windows Media Player SDK banner art
PreviousNext

BASE Element

The 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 the null string ("").

Parent/Child Elements

Hierarchy Elements
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 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 Windows Media Player.

A BASE element defined as the child of an ASX element becomes the default for the entire metafile. 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, Windows Media Player appends one to the end of the string.

Example Code

<BASE href="http://msdn.microsoft.com/" />

See Also

PreviousNext


© 2000-2001 Microsoft Corporation. All rights reserved.