From: Nicholas Hart <[EMAIL PROTECTED]>
Subject: RE: Custom Javascript control problems in IE
The RealPlayer ActiveX control exposes the same API that the Netscape
plug-in does. Your problem is that IE uses a different object model, so
document.jbox.SetSource is not going to work for you.
You need to change your javascript/vbscript to handle the document object
models for netscape and IE and it should work fine.
(I believe you need to call jbox.SetSource on IE and
document.jbox.SetSource on Netscape.)
At 11:23 AM 7/30/99 -0700, you wrote:
>From: "Tony Panza" <[EMAIL PROTECTED]>
>Subject: RE: Custom Javascript control problems in IE
>
>I am experiencing the same problem Steve Hodgson describes as well.
>
>I have been able to successfully use the RealPlayer JavaScript methods as
>described in the Embedded RealPlayer Extended Functionality Guide with
>Netscape (v 4.08). However, when trying the exact same page with Internet
>Explorer (v 4.01) I get a script error dialog box saying "Object doesn't
>support this property or method".
>
>The exact code I'm using is this:
>
>< input type="button" value="Change Track"
>onClick="document.jbox.SetSource(document.myForm.trackmenu.options[document.
>myForm.trackmenu.selectedIndex].value);" >
>
>How can I get this to work with IE? It is very important to me that the
>effect achieved with the above code works with both browers.
>
>Does Microsoft offer any kind of upgrade/fix/patch that would allow the
>RealPlayer JavaScript methods to work with its browers? If so, I really hope
>it doesn't require upgrading to IE5...
>
>Any type of help or information regarding this topic would be greatly
>appreciated.
>
>Thanks,
>
>
>Tony Panza