Closed Bug 59935 Opened 24 years ago Closed 24 years ago

Javascript function calls to plugin do not work (in Real Player)

Categories

(Core Graveyard :: Plug-ins, defect, P3)

x86
Windows NT
defect

Tracking

(Not tracked)

VERIFIED INVALID

People

(Reporter: ecohen, Assigned: serhunt)

References

Details

It seems that function calls like 'doPlay(), doStop(), doPause()' which are Javascript calls to RealPlayer plugin provoke the following error : "xxx.doPlay is not a function" whatever xxx is between : - document.pluginInstanceName - document.getElementById('pluginInstanceID') My plugin is embedded to the Web page using <EMBED> tag. With netscape navigator, I use the following : - document.pluginInstanceName.doPlay() to start playing a video. We will be using Mozilla on Linux-based platforms as an interface for interactive TV applications. So far we've developed our interface on Windows NT platforms. Q: Is there another JavaScript syntax I can use ? Is this problem related to Real Player plugin (I use V.8) ?
Have you tried using the <OBJECT> tag (http://www.w3.org/TR/html4/struct/objects.html#h-13.3)? It may not help, but it's worth a try...
Browser, not engine. Reassigning to Plugins component -
Assignee: rogerl → av
Component: Javascript Engine → Plug-ins
QA Contact: pschwartau → shrir
LiveConnect (4x style of plugin scripting) is not supported in mozilla. You'll have to wait for Real to ship an XPCOM plugin.
Huh? I thought we had just fixed that bug.
Lack of support for LiveConnect (as opposed to xpconnect) scripting of plugins was an architectural decision made long ago and won't be 'fixed'.
To sum up : - I had a try with <OBJECT> tag but Mozilla simply ignores it. - If I want to use plugin functions, I have to wait for the XPCOM component to be released (if it doesn't exist yet). - La balle est dans le camp de Real Networks (only Real can solve this problem) Is that it ?
Pretty much. I know that they are working on an update - it might already be included in the n6 download.
Reporter is this still a problem in the latest nightlies?
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
This is a Real problem not ours. When they get there act together I am sure we will have many more bugs. Until then there is nothing we can do. Marking INVALID.
*** Bug 62275 has been marked as a duplicate of this bug. ***
verif
Status: RESOLVED → VERIFIED
*** Bug 90035 has been marked as a duplicate of this bug. ***
*** Bug 81136 has been marked as a duplicate of this bug. ***
This bug is not invalid. Scripting isn't working in Real on Linux. This bug has moved. See: http://bugzilla.mozilla.org/show_bug.cgi?id=111773
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.