From: Steve McMillen <[EMAIL PROTECTED]>
Subject: Re: Callback Methods

Basically the correct syntax is:

<script language=JavaScript for=javaPlug1 event=OnPreFetchComplete()>
<!--
  onPreFetchComplete();
// -->
</script>

You can find a working example that works in IE (and netscape) at
http://demos.real.com/tools/clipinfo.htm

cheers!

RealForum wrote:
 >
 > From: "Rob Hoch" <[EMAIL PROTECTED]>
 > Subject: Re: Callback Methods
 >
 > Is it possible to do the same thing in IE (5 & up) using JavaScript instead
 > of VBScript?
 > If so, are there any examples of this?
 >
 > Regards,
 >
 > Robert E. Hoch
 > Evergreen Information Systems, Inc.
 >
 > <<
 > From: Nicholas Hart <[EMAIL PROTECTED]>
 > Subject: Re: Callback Methods
 >
 > It's even easier in IE. All you need to do is create an object using the
 > <OBJECT> tag and name it and add some VBScript to handle the events.
 >
 > For instance,
 >
 > <object
 > id="MyRealPlayer"
 > classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA"
 > height="140"
 > width="280">
 > <param name="SRC" value="rtsp://myserver/myclip.rm">
 > <param name="AutoGotoUrl" value="false">
 > </object>
 >
 > <SCRIPT language="VBS">
 > Sub MyRealPlayer_OnAutoGotoUrl(byVal url, byVal target)
 >
 > // do something here
 >
 > End Sub
 > </SCRIPT>
 >  >>
 >


*******************************************************
The RealForum is an email discussion group focused on using RealNetworks
products. The RealForum is a place to post messages about the best methods
for creating content using RealNetworks technologies and the planning and
implementation of streaming-media web sites.  Archives of RealForum can
be found at http://realforum.real.com

If you ever want to remove yourself from this mailing list,
you can send mail to <[EMAIL PROTECTED]> with the following
command in the body of your email message:

    unsubscribe realforum

or from another account, besides the address you subscribed with:

    unsubscribe realforum <[EMAIL PROTECTED]>

Reply via email to