NPAPI and Google Chrome on Linux -
i'm working on npapi plugin on linux , have run several issues google chrome (albeit works on firefox).
firstly, plugin execution hang , after long harrowing time figured out call npn_evaluate
hangs when last parameter (for returned result
) null. works on firefox fine. solution pass address of npvariant
type variable parameter , ignore value.
after plugin loads fine i'm stuck error message: [8886:8886:195170759489:error:webkit/glue/plugins/webplugin_delegate_impl_gtk.cc(129)] not implemented reached in bool webplugindelegateimpl::windowedcreateplugin() windowed plugin without xembed. see http://code.google.com/p/chromium/issues/detail?id=38229
any ideas on how plugin working?
you need use xembed in plugin work chrome. docs here: https://developer.mozilla.org/en/xembed_extension_for_mozilla_plugins
firebreath uses method: http://firebreath.org
it open source (bsd license), either use plugin or shamelessly "borrow" code xembed.
Comments
Post a Comment