webBrowserComponent?


#1

Has anyone had any luck using this component on Linux? Code from the JuceDemo makes me thing this component might not available on Linux?

case showWebBrowser: result.setInfo ("Web Browser", "Shows the web browser demo", demosCategory, 0); result.addDefaultKeypress ('i', ModifierKeys::commandModifier); result.setTicked (currentDemoId == showWebBrowser); #if (! JUCE_WEB_BROWSER) || JUCE_LINUX result.setActive (true); #endif break;

I use this component on Windows and OSX to show an integrated help file. Can this be done on Linux using Juce? If not has anyone any ideas of what I could use instead?


#2

It’s not implemented for Linux. There is no good solution to this on Linux, unfortunately. I spent some time trying to find something to integrate with JUCE but no luck.


#3

Chromium Embedded Framework didn’t work?
http://code.google.com/p/chromiumembedded/


#4

Thanks, I wasn’t aware of this!


#5

[quote=“sonic59”]Chromium Embedded Framework didn’t work?
http://code.google.com/p/chromiumembedded/[/quote]
I was looking at that a few months ago, but was scared off by the hundreds of dependencies and complex build environment. It’s not a quick drop-in solution, like the IE browser control in Windows. But very interesting ofc.

@Rory: If you do try it, please report your experience back here!


#6

I’m not sure I’m going to put too much time into this, it might just be better in the long run to launch a browser using a some kind of system command. If I find a better solution I’ll let you know.

Rory.


#7

Hi,

Just a short notice that I am currently integrating the Chromium Embedded Framework into my Juce project.

I was writting about my progress on the CEF forum (unfortunately, nobody was there for help): http://www.magpcss.org/ceforum/viewtopic.php?f=6&t=11367

For now I have basic support for launching a Chromium window from my Juce application and openign a Juce window from a chromium one using a custom URI schema.

I will try now to embed directly a CEF view as Juce component into my Juce application, but this looks difficult. I will be investigating offscreen rendering.


#8

Nice work!


#9

Hi -

Have you made any further progress?  I'm hoping to integrate a web browser component on LInux, and just noticed it doesn't work at all.


#10

Do you have any source code you could share?


#11

bump. would be great to get a working webbrowser component on linux. I don't know much about linux programming but would webkit be an option in a JUCE app?


#12

Yes, it would be great!


#13

We’ve now added preliminary support for the WebBrowser component on linux. Please take it for a spin and let us know about any bugs you encounter.


#14

Thanks Fabian. This is a welcome update. I can now integrate my HTML help files directly into my application. I’ll let you know if I have any issues.


#15

It seems that the mouse wheel doesn’t scroll the content on Linux as it does on OSX and Windows.