From: Tom <[EMAIL PROTECTED]>
Subject: Re: Direct Connection Between Applet and RealPlayer
> From: Michael Litzkow <[EMAIL PROTECTED]>
> Subject: Re: Direct Connection Between Applet and RealPlayer
>
> Brad,
>
> I don't think the ActiveX control supports the LiveConnect type of
callback
> that the Plug-in does. There are a couple of other options you can use
> though. One is to set up a COM style callback mechanism, which is known
> as a "connection point"...
<skip>...
Well you may want to do what you describe.. but
the netscape.javascript.JSObject DOES work on
both IE and NS.
Go figure..
I was surprised.. but hey.. sometimes you get lucky ;-)
Ironically, sanity prevailed on this one.. At least IE5 works..
My applet uses it all the time.
Does anyone know for sure that IE4 supports JSObject, please
no speculation.. if you know it works, it would be great to know
though.
I would point out that in Brad's example, the JSObject was working
fine until it attempted to get the object representing another applet,
at which point it gave a security warning. But it worked fine till that
point, and it seems a portable way to callback to javascript.
(although I would probably not test the limits of the HTML document model
from inside a Java program..)
If anyone knows where this doesn't work, please let me know..
I am assuming that IE3 is out.. JSObject is a NS3 new feature, right?
Available in JDK 1.0.2...
If anyone knows about cross platform Java and native methods
on PC's and Mac's I would be interested in talking!!!
..please email me directly, as I can miss messages in this digest.
Regards,
Tom
*******************************************************
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]>