Windows Media Player SDK banner art
PreviousNext

Invoking Methods

This topic applies to Windows Media Player version 6.4 only.

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 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.

PreviousNext


© 2000-2001 Microsoft Corporation. All rights reserved.