Windows Media Player 11 SDK Settings.baseURL 

Windows Media Player SDK banner art

Previous Next

Settings.baseURL

The baseURL property specifies or retrieves the base URL used for relative path resolution with URL script commands that are embedded in media items.

Syntax

  
    
  

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.

Windows Media Player 10 Mobile: This property is read-only, and always returns an empty string.

Requirements

Version: Windows Media Player version 7.0 or later.

Library: Use wmp.dll.

See Also

Previous Next