Add plugin into CEF

Built a cool app using CEF that you'd like to share with the community? Talk about it here.

Add plugin into CEF

Postby hanJon » Thu Nov 21, 2013 1:45 pm

HI!

I am using javachromiumembedded <https://code.google.com/p/javachromiumembedded/> and I am trying to access Google hangouts through it. However, hangouts requires a plugin. How do I add the necessary plugin into the javachromiumembedded application? Because I click install plugin and nothing happens.

Thanks!
hanJon
Newbie
 
Posts: 1
Joined: Thu Nov 21, 2013 1:40 pm

Re: Add plugin into CEF

Postby magreenblatt » Thu Nov 21, 2013 2:18 pm

You will need to manually install the plugin first. You can then modify the JCEF C++ source code and use the functions from cef_plugin.h to load the plugin. For example, call CefAddWebPluginPath from Java_org_cef_CefContext_N_1Initialize in native/CefContext.cpp. This API will eventually be exposed via Java but that's still a ways off.
magreenblatt
Site Admin
 
Posts: 9839
Joined: Fri May 29, 2009 6:57 pm


Return to Apps Discussion

Who is online

Users browsing this forum: No registered users and 1 guest