click to play and addons using npapi plugin

Discuss building things with or for the Mozilla Platform.
Post Reply
rajesh2013
Posts: 7
Joined: October 21st, 2013, 9:04 am

click to play and addons using npapi plugin

Post by rajesh2013 »

I have a addon that uses npapi plugin in background page ...and because of click to play feature the plugin is not enabled in nightlies as designed..
But i think when the browser detects addons\extension and prompt to activate it ...it should also allow the plugin which it depends on to activate it...

There should be some way to activate when the addon/extension is detected .....

There is also js-ctypes but i don't think there is any benefit or need to rewrite again everything....as its just another native interface...

can this feature\support be added for addons that depend on npapi plugins...
Elbart
Posts: 997
Joined: February 21st, 2010, 8:38 am

Re: click to play and addons using npapi plugin

Post by Elbart »

There's an icon in the location-bar.
gone
rajesh2013
Posts: 7
Joined: October 21st, 2013, 9:04 am

Re: click to play and addons using npapi plugin

Post by rajesh2013 »

Elbart wrote:There's an icon in the location-bar.


in addons, plugin is loaded in background page...which is hidden ....so there is no notification for it....I have to go in plugins and enable it from there to make it work....how will end user know this if he installs my addon..and plus this will be bad....

That icon you are saying will work for normal pages using plugins......
Last edited by rajesh2013 on October 25th, 2013, 1:17 am, edited 1 time in total.
Elbart
Posts: 997
Joined: February 21st, 2010, 8:38 am

Re: click to play and addons using npapi plugin

Post by Elbart »

I don't know what you mean with "addons plugin". What extension or plugin are you talking about?
gone
rajesh2013
Posts: 7
Joined: October 21st, 2013, 9:04 am

Re: click to play and addons using npapi plugin

Post by rajesh2013 »

firefox addon made usign firefox addon sdk....
rajesh2013
Posts: 7
Joined: October 21st, 2013, 9:04 am

Re: click to play and addons using npapi plugin

Post by rajesh2013 »

here is sample addon which does this....
https://github.com/oliverguenther/broadmask-firefox

below is the bg page which loads a npapi plugin......this is how i am also doing
https://github.com/oliverguenther/broad ... round.html
rajesh2013
Posts: 7
Joined: October 21st, 2013, 9:04 am

Re: click to play and addons using npapi plugin

Post by rajesh2013 »

Elbart did you get my point ...any updates on this...
Or can any firefox admin or developer update me on this
User avatar
the-edmeister
Posts: 32249
Joined: February 25th, 2003, 12:51 am
Location: Chicago, IL, USA

Re: click to play and addons using npapi plugin

Post by the-edmeister »

With the current rendition of Click-to-Play your plugin loading in a background page just ain't gonna work.

Overall, your question isn't appropriate for this Firefox Features forum. It is more of a development question, more suitable in a different forum. Like maybe here: viewforum.php?f=27

I suggest you look for a Mozilla Development discussion where the Firefox developers hang out to discuss Plugin issues.
http://www.mozilla.org/about/forums/#general-development
A mind is a terrible thing to waste. Mine has wandered off and I'm out looking for it.
rajesh2013
Posts: 7
Joined: October 21st, 2013, 9:04 am

Re: click to play and addons using npapi plugin

Post by rajesh2013 »

the-edmeister wrote:With the current rendition of Click-to-Play your plugin loading in a background page just ain't gonna work.

Overall, your question isn't appropriate for this Firefox Features forum. It is more of a development question, more suitable in a different forum. Like maybe here: viewforum.php?f=27

I suggest you look for a Mozilla Development discussion where the Firefox developers hang out to discuss Plugin issues.
http://www.mozilla.org/about/forums/#general-development


how can this topic be moved to development directly
User avatar
LIMPET235
Moderator
Posts: 39933
Joined: October 19th, 2007, 1:53 am
Location: The South Coast of N.S.W. Oz.

Re: click to play and addons using npapi plugin

Post by LIMPET235 »

I'll move it there now...
Off to Moz Dev...
[Ancient Amateur Astronomer.]
Win-10-H/64 bit/500G SSD/16 Gig Ram/450Watt PSU/350WattUPS/Firefox-115.0.2/T-bird-115.3.2./SnagIt-v10.0.1/MWP-7.12.125.

(Always choose the "Custom" Install.)
rajesh2013
Posts: 7
Joined: October 21st, 2013, 9:04 am

Re: click to play and addons using npapi plugin

Post by rajesh2013 »

Mozilla dev's please comment because its a very important issue which is creating problem to my addon to work for future versions of
Firefox with click to play support....I have to make sure that my addon will work with this feature on....
Post Reply