NPAPI on Mac

127 views
Skip to first unread message

Adam Billyard

unread,
Nov 13, 2012, 12:27:15 PM11/13/12
to chromi...@chromium.org
Hi,

My NPAPI-based plugin fails to load on Macintosh Chrome. 

Chrome loads the Extension from the Webstore ("LightUp for Macintosh") and does not complain but it fails to show in navigator.plugins[] 

It used to work just fine and I haven't changed anything, so how do I get Chrome to display some debugging info as to why it shows the Extension but is obviously not loading it.

If I install it for Safari (/Library/Internet-Plugins), Chrome picks it up and fine and it works.  So the plugin is fine, its just some meta-data requirement that appears to have changed.

Any ideas?

  Adam



 

Adam Billyard

unread,
Nov 14, 2012, 3:42:02 AM11/14/12
to chromi...@chromium.org
To answer my own question for the record:

commandline arg "--debug-plugin-loading"  helped track down that the Bundle wasn't being created

The reason is that the limited docs on the manifest.json implied the plugins[] field should be a single file, not the entire .plugins folder

  Adam

James Mortensen

unread,
Nov 19, 2012, 2:18:55 AM11/19/12
to chromi...@chromium.org
Just FYI Adam, NPAPI will soon be deprecated in Chrome extensions.  I heard they plan to stop supporting it in favor of Pepper/PPAPI. Just so you know.  I chose not to use NPAPI due to this.

James

Adam Billyard

unread,
Nov 19, 2012, 4:11:25 AM11/19/12
to chromi...@chromium.org
Thanks for the heads-up.

No doubt they'll not be providing any adaptor classes to this new API.  And remove OpenGL support and say you should use HTML5 etc etc.

Frankly, can't be bothered supporting it.

  Adam
Reply all
Reply to author
Forward
0 new messages