> We are setting about embedding a client application into Firefox viewport.
> It is the final effect that we drag a given file into browser and then the
> application startup,
> which is the same as AdobeReader embedded in browser reading PDF.
>
> We have done it in IE. Firstly we wrote some information to registry.
> With a given file's being dragged into browser,
> main program (non-plugin) run in embed mode inside the viewport.
>
> How to achieve it in Firefox?
Well, by posting to the mdt.plugins newsgroup you've mostly answered your
question: you write an NPAPI plugin. The plugin tells the browser what MIME
types it can handle (and also which local file extensions map to those MIME
types), and the browser will instantiate the plugin when the user tries to
load data of that type (either from the local disk or from the web).
--BDS
Could you do me a favor to profile the flow, or give an example?
Thanks
On Thu, Dec 17, 2009 at 10:52 PM, Benjamin Smedberg
<benj...@smedbergs.us>wrote:
> _______________________________________________
> dev-tech-plugins mailing list
> dev-tech...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-tech-plugins
>
The documentation starting point is
https://developer.mozilla.org/en/Gecko_Plugin_API_Reference
If you have specific questions that the docs don't answer, feel free to ask
here!
--BDS