Embedding Chromium browser in Kivy

1,825 views
Skip to first unread message

Czarek Tomczak

unread,
Sep 14, 2013, 12:50:19 PM9/14/13
to kivy-...@googlegroups.com
Hi,

If anyone is looking for a way to embed a Chromium browser in Kivy, then take 
a look at this Kivy example that uses CEF Python (python bindings for the 

https://code.google.com/p/cefpython/wiki/Kivy (screenshot + link to sources)

The Ubuntu 64-bit binaries have just been released today and include the Kivy
example:


The Windows platform is yet to be tested in OSR mode.

I am aware of kivy-berkelium that also allows to embed Chromium browser in Kivy,
but the Berkelium project hasn't been updated for many years, the last binary release
includes Chromium 11. Chromium Embedded Framework is updated very frequently
and comes with latest versions of Chromium.

Best regards,
Czarek

Gabriel Pettier

unread,
Sep 14, 2013, 2:36:51 PM9/14/13
to kivy-...@googlegroups.com
That's good news for a few people :)

They don't have osx release yet, but people are apparently interested in
it and it seems possible. Still that's a windows + linux platform.

Thanks for the info :)

On Sat, Sep 14, 2013 at 09:50:19AM -0700, Czarek Tomczak wrote:
> Hi,
>
> If anyone is looking for a way to embed a Chromium browser in Kivy, then
> take
> a look at this Kivy example that uses CEF Python<https://code.google.com/p/cefpython/>(python bindings for
> the
> Chromium Embedded Framework <https://code.google.com/p/chromiumembedded/>):
>
> https://code.google.com/p/cefpython/wiki/Kivy (screenshot + link to sources)
>
> The Ubuntu 64-bit binaries have just been released today and include the
> Kivy
> example:
>
> https://code.google.com/p/cefpython/wiki/Download_CEF3_Linux
>
> The Windows platform is yet to be tested in OSR mode.
>
> I am aware of kivy-berkelium <https://github.com/kivy/kivy-berkelium> that
> also allows to embed Chromium browser in Kivy,
> but the Berkelium project hasn't been updated for many years, the last
> binary release
> includes Chromium 11. Chromium Embedded Framework<https://code.google.com/p/chromiumembedded/>is updated very frequently
> and comes with latest versions of Chromium.
>
> Best regards,
> Czarek
>
> --
> You received this message because you are subscribed to the Google Groups "Kivy users support" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

Akshay Arora

unread,
Sep 14, 2013, 3:30:27 PM9/14/13
to kivy-...@googlegroups.com
Ooh nice !. where can I press like :p. Seriously though who's the author? This needs to be posted on social media.

Ryze

unread,
Sep 26, 2013, 9:50:35 AM9/26/13
to kivy-...@googlegroups.com
For some reason the browser doesn't load for me, all i get is the two buttons

http://oi43.tinypic.com/2wme53d.jpg

and this is what i get on my terminal
http://paste2.org/zmvatE4v


any ideias on what im doing wrong?
help appreciated.

Mathieu Virbel

unread,
Sep 26, 2013, 9:53:17 AM9/26/13
to kivy-...@googlegroups.com
This is the work of jegger on irc. He worked a lot to get it working
with Kivy, using the panda 3d example :)

There is now a garden package for it, have a look at:

https://github.com/kivy-garden/garden.cefpython

As the readme stated, the project is not stable, but there is at least
an example about it where people can work on :)

Mathieu


Le 14/09/2013 21:30, Akshay Arora a �crit :
> <mailto:kivy-users%2Bunsu...@googlegroups.com>.
> > For more options, visit https://groups.google.com/groups/opt_out.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Kivy users support" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to kivy-users+...@googlegroups.com
> <mailto:kivy-users%2Bunsu...@googlegroups.com>.

Czarek Tomczak

unread,
Sep 26, 2013, 10:17:54 AM9/26/13
to kivy-...@googlegroups.com
On Thursday, September 26, 2013 3:50:35 PM UTC+2, Ryze wrote:
For some reason the browser doesn't load for me, all i get is the two buttons
.. 
and this is what i get on my terminal http://paste2.org/zmvatE4v
 
This error message is essential:

[0926/144337:ERROR:child_process_launcher.cc(326)] Failed to launch child process

It says that launching the "subprocess" executable failed. It's either missing or the path
to it is incorrect. The "subprocess" file should be in the same directory as "libcef.so".
The path to subprocess is set through the "browser_subprocess_path" option passed
to cefpython.Initialize().

Best regards,
Czarek
 

Czarek Tomczak

unread,
Sep 26, 2013, 11:19:53 AM9/26/13
to kivy-...@googlegroups.com
Qua-non,

A bit of a late response..

On Saturday, September 14, 2013 9:30:27 PM UTC+2, qua-non wrote:

Ooh nice !. where can I press like :p. Seriously though who's the author? This needs to be posted on social media. 

The development of the OSR support in CEF Python along with the Kivy example
was sponsored by Rentouch GmbHThe work was initially started by Dominique
Burnand from Rentouch (nick jegger), with some help of mine it started working.
There were some other features developed later be me, like the keyboard support, 
the development of these was sponsored by Rentouch.

That's the story :)

Best regards,
Czarek

Reply all
Reply to author
Forward
0 new messages