I've attempted multiple methods to include flash as PPAPI and NPAPI. Given that the NPAPI will be dropped in January 2014, I cannot say it will be a good idea to use it.
First is the register pepper plugins command line:
register-pepper-plugins=/usr/lib/pepperflashplugin-nonfree/libpepflashplayer.so;application/x-shockwave-flash
Which is detected as 15.0.0.239 as expected at http://www.adobe.com/software/flash/about, but the flash content itself does not play. I assume it is due to this: "1127/210342:ERROR:web_contents_delegate.cc(180)] WebContentsDelegate::CheckMediaAccessPermission: Not supported." Seeing as how it will keep happening when I attempt to play flash content.
Since that did not work, the next idea what to look at the flags that Chromium uses for PPAPI flasg which are:
ppapi-flash-path=/usr/lib/pepperflashplugin-nonfree/libpepflashplayer.so ppapi-flash-version=15.0.0.239
This does not work at all as if they are being ignored when passed to the jcef_helper.
Last idea was to use the NPAPI meaning to use the Web Plugin manager:
CefWebPluginManager.getGlobalManager().addPlugin("/home/user/libflashplayer.so");
CefWebPluginManager.getGlobalManager().refreshPlugins();
I've tried addPluginDirectory as well and that does not work at all just like the flags above.
Is there something that I am missing? If flash cannot be used from jcef then I'm considering dropping jcef and building a cef based browser that I could use with selenium assuming flash works with it.