Invoking Methods

Windows Media Player SDK banner art

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.



Show: