Richard wrote:
This app basically works aside from one issue, Javascript. I want access to
be able to call document.getElementByID("plugin")

getElementByID, or getElementById?

document object itself seems to exist, just not the document.embed array.

document.embed, or document.embeds?

I'm using nsIScriptGlobalObject,nsIDocShell, and nsIPluginInstance just to
name a few interfaces I'm using to set everything up.
(The plugin is loaded using a combination of nsIPluginHost and
nsIPluginDocument).

Erm.... You're using some interesting private "interfaces" there. Given that, I have no idea what you're doing and why, and hence why it might not work. Is there a reason you're doing all that?

Sorry I'm kind of vauge, but I'm not sure what is the relative point in the
code to initialize this aspect of the DOM.

There isn't one; the DOM is "initialized" when the document is created.

-Boris
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to