![]() |
Previous | Next |
This topic applies to Windows Media Player version 6.4 only.
In addition to forward compatibility, the control provides access to NetShow Player 2.0 and ActiveMovie attributes in MediaPlayer mode. Two properties, NSPlay and ActiveMovie, are exposed when an instance of the control is created as usual. Use the following syntax to access NetShow Player or ActiveMovie properties and methods when the control is operating in MediaPlayer mode.
NormalMode.NSPlay.Attribute
Or
NormalMode.ActiveMovie.Attribute
NormalMode is the instance of the player control created with the Windows Media Player CLSID, and Attribute is any method or property exposed by the control in an alternate mode. For example, to access the Author property of the NetShow Player 2.0 control from code written for the Windows Media Player control, use the following:
MediaPlayer1.NSPlay.Author
Previous | Next |