Contents Index Topic Contents | |
Previous Topic: Embedding Windows Media Player Next Topic: Accessing Properties |
Invoking Methods
Follow the usual object model to invoke a method through the Microsoft® Windows Media™ Player plug-in for Netscape Navigator. The following example defines forward and rewind buttons that invoke the FastForward and FastReverse methods of the Windows Media Player.
<FORM> <INPUT TYPE=BUTTON NAME="ForwardButton" VALUE="Forward" ONCLICK="MediaPlayer.FastForward()"> <INPUT TYPE=BUTTON NAME="ReverseButton" VALUE="Rewind" ONCLICK="MediaPlayer.FastRewind()"> </FORM>This syntax for invoking methods works for both Netscape Navigator and Microsoft® Internet Explorer.
Top of Page
© 1999 Microsoft and/or its suppliers. All rights reserved. Terms of Use.