How to register MIME type for NPAPI plugin in Linux
46 views
Skip to first unread message
Ashish Mittal
unread,
Dec 5, 2011, 3:43:22 AM12/5/11
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Hi,
I have written a NPAPI plugin using croos plattform tool(Qt), in
the .res file of my plugin project(on Window OS), I have associated
MIME type with this plugin dll, so that it is getting detected by
firefox, now I wanted to use the same plugin on Linux machine, I have
recompiled the project on Linux machine and getting .so as an output.
But it is not getting detected by firefox , so how do I associate MIME
type with this plugin under Linux env.
or what is equlient of .res file in Linux.??
my dll MIME type is "application/x-shockwave-flash|application/
futuresplash"
Please help
Regards
Ashish
Enrique Ocaña González
unread,
Dec 6, 2011, 6:43:32 AM12/6/11
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dev-tech...@lists.mozilla.org
MIME type registration in Linux happens in a different way. You need to
declare a function in your plugin that will tell the browser about the MIME
type on runtime, when the plugin is loaded: