Jump to content
  • We need you!

    You must register to discover all the features of our community!

  • 0

Chromium Embedded Framework as replacement of CWebBrowser


anon

Question

Posted (edited)

Hi

Recently I was thinking about alternatives to CWebBrowser in client binary. There is requirement in my current project to display web-pages which are modern heavy JavaScript types one. Based on my experience I can tell that,  CWebBrowser is not able to handle rendering of modern websites. As alternative I found Chromium Embedded Framework and it seems like reasonable choose. Before I start any work I want to know your opinion guys.

 

1. Question :

How would you handle displaying modern  websites in Client? Maybe there is some python based solution I don't know about, or c++ based? Or there is possible to fix current CWebBrowser solution?

 

 

I am really curious about your ideas.

 

Thanks, Sincerly,
Anon

 

Edited by anon
remove src version (see edit history)
Link to post

5 answers to this question

Recommended Posts

  • 0
41 minutes ago, Johnny69 said:

Chromium documentation and source are public and is not that hard to implement it, if I have time in the next day i will post a tutorial.

It doesn't look very straightforward for me. I would be very grateful if you would post tutorial specific to mt binary.

For example I've looked at CEF documentaiton and I have many questions. Like when I should create instance of browser. In documentation it says a lot about how many processess, and resources it needs, so probably I need to create instance only when player wants to use this feature and destroy instance when player finished?. Should I create another thread to run this? How to communicate with this thread - using some kind of mutexes? What If i want reload page, or go back one page in history. Probably version with dll is better than static compilation, which other dlls I need to put in my client?

Link to post
  • 0

In chromium WebAssembly and WebGL is supported. Tell me guys. Do you think because of WebAssembly and WebGL support there is possibility to create Mini games in other game engines like Godot and run this in mt2 client? I think even with javascript there is possibility to create some mini game

Link to post
  • 0
  • VIP

Implementing CEF to the binary source is not that hard, if you look at the documents mentioned above you can easily follow up the examples that are already included in some of the CEF repositories, with this you can understand how CEF works and then start to integrate it in your binary.

Here are also some useful links,


https://bitbucket.org/chromiumembedded/cef/wiki/Tutorial

http://opensource.spotify.com/cefbuilds/index.html

 

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.