Windows Media Player 11 SDK Settings.baseURLÂ
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:
- A trailing forward slash (/) is added to the value of the baseURL property.
- A leading period, backward slash, or forward slash (., \, and /) are deleted from the relative URL.
- The relative URL is added to the end of the base URL.
- 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 |