IWMPSettings::defaultFrame property
[The feature associated with this page, Windows Media Player SDK, is a legacy feature. It has been superseded by MediaPlayer. MediaPlayer has been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer instead of Windows Media Player SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]
The defaultFrame property gets or sets the name of the frame used to display a URL that is received in an AxWindowsMediaPlayer_WMPOCXEvents_ScriptCommandEvent event.
Syntax
public System.String defaultFrame {get; set;}
Public Property defaultFrame As System.String
Property value
A System.String that is the value of the name attribute of the target FRAME element.
Remarks
If a target frame is specified in the _WMPOCXEvents_ScriptCommandEvent event itself, this property is ignored.
This property is ignored when using the Netscape Navigator Java applet. In Netscape Navigator, each URL script command received will display the URL in a new browser window, regardless of the value of defaultFrame.
Requirements
Requirement | Value |
---|---|
Version |
Windows Media Player 9 Series or later |
Namespace |
WMPLib |
Assembly |
|