ashea-code / BLUI

Rich HTML UI engine for UE4
MIT License
860 stars 258 forks source link

Replace BluiBrowser with WebBrowser #63

Open paultech opened 8 years ago

paultech commented 8 years ago

I've had medium success in replacing BluiBrowser process with the Epic provided CEF process. This reduces overall footprint needed by Blui and provides some extra scripting capacity via WebJS that is included in WebBrowser.

If any desire I'd be happy to help with a pull request.

https://github.com/EpicGames/UnrealEngine/tree/ab9713f2c0346236b0fdd271d3304cf0991d23de/Engine/Source/Runtime/WebBrowser

https://github.com/EpicGames/UnrealEngine/blob/ab9713f2c0346236b0fdd271d3304cf0991d23de/Engine/Source/Runtime/WebBrowser/Public/WebJSFunction.h

https://github.com/EpicGames/UnrealEngine/blob/ab9713f2c0346236b0fdd271d3304cf0991d23de/Engine/Source/Runtime/WebBrowser/Public/IWebBrowserWindow.h

ashea-code commented 8 years ago

If you'd like to fork and try it out I'd open up a branch in the main repo to merge into for testing. I'm interested in reducing the effort required including compiling CEF for each new release.

ImmanuelSamuel commented 8 years ago

Hey guys any progress on this? Since UE4.12 supports WebBrowser in iOS now it can expand shipping options.

ImmanuelSamuel commented 7 years ago

@paultech Would it be possible for you to send me a simple example on using /WebJSFunction.h? I am just trying to some data to browser and get a response. Thank you!

PS: Sorry @AaronShea couldn't get a contact info for paul. If you have time and can show an example of the above that would be greatly helpful. Thanks!