Windows Media Player 11 SDK IWMPSettings.baseURL (VB and C#)
Previous | Next |
IWMPSettings.baseURL (VB and C#)
The baseURL property gets or sets the base URL used for relative path resolution with URL script commands that are embedded in digital media content.
Property Value
A System.String that is the base URL.
Remarks
This property specifies the base HTTP URL that is passed as the command parameter by the AxWindowsMediaPlayer_WMPOCXEvents_ScriptCommandEvent event. The base URL is concatenated with the relative URL as follows:
- A trailing forward slash (/) is added to the value retrieved by the baseURL property.
- A leading period, backward slash, or forward slash character (., \, and /) is deleted from the relative URL.
- The relative URL is added to the end of the base URL.
- All slash characters 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 Windows Media Player control does not support the use of two periods (..) in the relative URL to indicate the parent of the current location.
Requirements
Version: Windows Media Player 9 Series or later
Namespace: WMPLib
Assembly: Interop.WMPLib.dll (automatically generated by Visual Studio)
See Also
- AxWindowsMediaPlayer.ScriptCommand Event (VB and C#)
- IWMPSettings Interface (VB and C#)
- IWMPSettings.baseURL (VB and C#)
Previous | Next |