no calls after NPP_New on mac osx / safari

View: New views
2 Messages — Rating Filter:   Alert me  

no calls after NPP_New on mac osx / safari

by Georg Fritzsche-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

i am trying to port a NPAPI plugin that works fine on windows to osx.
In Safari i so far have it calling the 3 initial functions
(NP_Initialize(), NP_GetEntryPoints(), NPP_New()), but after that i
get nothing - no NPP_SetWindow() or NPP_HandleEvent(), NPP_GetValue()
nor NPP_GetScriptableInstance().

I am stuck there since last week - does anyone have any ideas what
could be wrong?
I'd be happy to post shortened excerpts that might be relevant.

Regards,
Georg
_______________________________________________
dev-tech-plugins mailing list
dev-tech-plugins@...
https://lists.mozilla.org/listinfo/dev-tech-plugins

Re: no calls after NPP_New on mac osx / safari

by Georg Fritzsche-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ok, it seems one has to negotiate at least the event model in NPP_New
().
That should probably solve it (npp getvalue is called now).

Regards,
Georg
_______________________________________________
dev-tech-plugins mailing list
dev-tech-plugins@...
https://lists.mozilla.org/listinfo/dev-tech-plugins