Changes

Jump to: navigation, search

NPAPI:Pepper

738 bytes removed, 04:16, 30 March 2010
Plugin Startup and Service Discovery
};
</pre>
 
= Plugin Startup and Service Discovery =
 
The current process of starting a plugin involves some differences on various platforms. In Pepper, the plugin must export
 
<pre>
NPError API_CALL NP_Initialize(NPNetscapeFuncs* pNFuncs,
NPPluginFuncs* pPFuncs);
</pre>
 
and
 
<pre>
NPError NP_Shutdown(void);
</pre>
 
There is no requirement for NP_GetEntryPoints.
 
Browsers currently determine which plugins provide support for which mime types by various mechanisms. A common trait of these mechanisms is the idea that the browser must load each plugin in succession to invoke an API to determine the types it provides. A single method not involving loading all the plugins is desired, but remains to be done.
= Pepper Audio =
89
edits

Navigation menu