x


Embed Web Browser into unity

It is possible to embed a web browser into unity ? not web browser embed unity like web player pluging.

more ▼

asked Sep 23 '10 at 09:04 AM

xInfinity gravatar image

xInfinity
1 1 1 1

(comments are locked)
10|3000 characters needed characters left

2 answers: sort voted first

I'm currently working on a project that uses Awesomium to render a webbrowser. Currently I'm having succes with rendering one webwindow with mouse input, but as I'm working on the project more work will be add later. You can also look into the unity-berkelium wrapper hosted on github.

Screenshot from prototype alt text

You can find my project here

more ▼

answered Nov 09 '10 at 03:17 PM

Rasmus Schlnsen gravatar image

Rasmus Schlnsen
667 9 15 28

(comments are locked)
10|3000 characters needed characters left

Not in any easy way.

If you target the web player, you can use some javascript code to hide the unity player, and display an html frame instead. This works, but won't let you truly embed it within your player, more like replace your player view with a web view (at least on most browsers, as so far, only Safari on OS X truly supports layering of Unity with other html content).

If you are targeting standalone or other platforms, your only options would be to integrate some browser tech like WebKit using a C++ plugin, or to write your own basic browser in C# (depending on the level of sophistication needed). Either way, it will be a lot of work to get basic functionality running.

more ▼

answered Sep 23 '10 at 10:00 AM

jonas echterhoff gravatar image

jonas echterhoff ♦♦
9.8k 7 23 104

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x126
x40

asked: Sep 23 '10 at 09:04 AM

Seen: 5092 times

Last Updated: Apr 19 at 07:11 PM