Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does CEF3 support NaCl?

Tags:

Has anyone had success in enabling NaCl/PNaCl support in the CEF3 (Chromium Embedded Framework)?

I find that Chrome (34) can run the PNaCl samples on this page fine, but the cefclient distributed at cefbuilds.com (Windows, 1916 branch) does not.

Chrome lists the ppGoogleNaClPluginChrome.dll as a PPAPI (in-process) plugin on chrome://plugins, while the cefclient app doesn't have this plugin listed (Test/Plugins menu option)

I've pulled down the source, and don't see any NaCl depedencies for the libcef target, and also see this issue filed for the CEF project, which make me suspect that this is currently only available for Chromium/Chrome.

--- Update --- There has been quite a bit of activity on this question recently, I suspect in part due to the bounty, and also because Chrome/Chromium is now actively deprecating NPAPI.

If you would like to encourage the CEF team to prioritize work on adding NaCl/PNaCl support, please vote for the issue here: http://bitbucket.org/chromiumembedded/cef/issue/705#

like image 285
holtavolt Avatar asked May 14 '14 04:05

holtavolt


1 Answers

From the CEF Forum:

CEF does not include the NaCl pepper (ppapi) plugin which is required to load NaCl applications. So you need to tell CEF where to find the NaCl plugin via the command-line. I'm not sure of the exact command-line, but you can use this as a guide: viewtopic.php?f=10&t=10509

You can get the plugin from an equivalent version of Google Chrome of you can build it from source code. For more information see http://www.chromium.org/nativeclient/getting-started/getting-started-background-and-basics.

I haven't tested NaCl support in CEF myself so it's possible that other changes may be required.

like image 145
Jehan Wijesinghe Avatar answered Sep 18 '22 23:09

Jehan Wijesinghe