Windows Media Player SDK banner art
PreviousNext

Settings.baseURL

The baseURL property specifies or retrieves the base URL used for relative path resolution.

Syntax

player.settings.baseURL

Possible Values

This property is a read/write String.

Remarks

This property specifies the base HTTP URL that is passed as the command parameter by the scriptCommand event. The base URL is concatenated with the relative URL as follows:

  1. A trailing forward slash (/) is added to the value of the baseURL property.
  2. A leading period, backward slash, or forward slash (., \, and /) are deleted from the relative URL.
  3. The relative URL is added to the end of the base URL.
  4. All slashes in the resulting fully qualified URL are pointed in the same direction (converted to forward or backward slashes) based on the direction of the first slash character encountered in the new URL.

Note   The player control does not support the use of two periods (..) in the relative URL to indicate the parent of the current location.

See Also

PreviousNext


© 2000-2001 Microsoft Corporation. All rights reserved.