Launch Non-Visible Browser in Unity

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Launch Non-Visible Browser in Unity

Postby tgraupmann » Wed Feb 15, 2017 10:27 pm

What is the bare minimum to load a URL without rendering to a window?

I have a Unity project/script for getting started.
https://github.com/tgraupmann/UnityCEF/ ... in.cs#L109

I'd like to create a browser and load a page that I don't need to see.

I need the page to evaluate JS that I pass to it.

I intend to use the Speech API, but for now it'd be great if I could just hear some audio playing as a sanity check.

Unity just uses the Mono 2.0 runtime. I can't just use Windows.Forms and mark it hidden...

Thanks,

~Tim Graupmann
tgraupmann
Techie
 
Posts: 16
Joined: Tue Feb 14, 2017 12:51 pm

Re: Launch Non-Visible Browser in Unity

Postby Czarek » Wed Feb 22, 2017 8:34 am

Try asking here viewforum.php?f=14
Hire me! I'm available for contract work, see my resume. Maintainer of the CEF Python, PHP Desktop and CEF C API projects.
User avatar
Czarek
Virtuoso
 
Posts: 1685
Joined: Sun Nov 06, 2011 2:12 am


Return to Support Forum

Who is online

Users browsing this forum: DanKegel and 35 guests