views:

344

answers:

1

Hi

I have compiled Mozilla NPAPI plugin example npruntime on Mac OSX 10.5. It give me a libnprt.dylib

I am bundling this dylib with proper plist.

On loading the plugin, NP_GetMIMEDescription() is getting called (i am logging this), but its not going inside NP_GetEntryPoints().

How a part of code is getting loaded and a part not?

Can you suggest me of any other documentation or example code? Any light on "How to make an NPAPI plugin for Mac"?

Advance thanks -Parimal Das

A: 

Solving your problem with the npruntime sample is a bit hard with the details given. I suggest checking out WebKits examples from their repository. Mac-wise Mozillas samples are somewhat outdated.

To spare yourself from implementing it all, you can also take a look at:

If you haven't found it already you might also find this NPAPI plugin introduction helpful.

Georg Fritzsche
colonelpanic.net was indeed my starting point :)The example code here (http://nativeclient.googlecode.com/svn-history/r168/trunk/nacl/googleclient/native_client/third_party/npapi_plugin/) is working correctly....though with some tweaks.I was having build issues with FireBreadth, have to check with the latest.Thanks a lot
Parimal Das
If you continue having build issues with FireBreath, join the google group and ask us about them! We'll try to help you out.
Taxilian