PDA

View Full Version : XPCOM component access using <embed> tag


kate
2006-09-26, 01:17
Hi,
What should I do inorder to access my XPCOM component(Scriptable) using <embed> tag instead of createInstance () and QuertInterface().

I googled and found that:
"If you want a scriptable plugin, you need an XPCOM component that implements
the nsIPluginInstance interface that gets instantiated via an <embed> tag".
But Iam not able 2 get this work correctly. I might have missed something.
I searched for samples but couldnt find any.

Can anyone send me sample code regarding this? Or some URL which clearly explains all this.
Thank you.