[webkit-dev] Pushing data to plugin
jackwootton at gmail.com
Fri Mar 20 07:23:29 PDT 2009
The functions you mention are NPP functions, which mean they are
implemented by the plugin and invoked by the browser. this is the
opposite of what my post was about. I am looking for functions that
are implemented by the browser and can be called by the plugin to send
data to the web page.
NPP_Invoke only allows for data to be transferred back to the webpage
I think the Browser has a few functions which may help though. I
think my options are:
NPN_NewStream -> NPN_Write -> NPN_DestroyStream
Does anyone have any experience with these functions? I am trying to
use them but am getting link errors. Which library to i need to link
against to use them?
On Thu, Mar 19, 2009 at 10:49 AM, Sriram Neelakandan
<sriram.neelakandan at gmail.com> wrote:
> U must register a NPAPI method Identifier with the browser using
> and later implement the method in your NPP->Invoke.
> Invoke's NPVariant *result is the JS return value.
> Please read about all this and much more @
> Sriram Neelakandan
> Author - Embedded Linux System Design And Development
More information about the webkit-dev