x


call back java script application and create embed code

Hello there,

I am creating one application with unity 3D with js. In which user can integrate/embed my application in their site. Without downloading any files into their server.

Is this possible? If yes kindly provide guidance that how to do it..

Thanks.

more ▼

asked Jul 02 '11 at 06:54 AM

elis gravatar image

elis
1 2 2 2

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

4 answers: sort voted first

When you make your build Unity will create a file with a unity3d extension. All that your customers will need do is follow the information at:

http://unity3d.com/support/documentation/Manual/HTML code to load Unity Web Player content.html

and change the:

unityObject.embedUnity("unityPlayer", "WebPlayer.unity3d", 600, 450);

to include the webserver where you are hosting the unity3d file, so perhaps:

unityObject.embedUnity("unityPlayer", "http://yourserver.com/WebPlayer.unity3d", 600, 450);
more ▼

answered Jul 02 '11 at 08:35 PM

Graham Dunnett gravatar image

Graham Dunnett ♦♦
11.8k 11 20 64

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

Hello Mr. Graham,

Thank you for your answer.

The link that you have provided is broken. could you please help me out?

Thanks, - Elis

more ▼

answered Jul 04 '11 at 05:28 AM

elis gravatar image

elis
1 2 2 2

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

Can I pass Variables to this scripts via this line ex:-

unityObject.embedUnity("unityPlayer", "http://yourserver.com/WebPlayer.unity3d?foo=bar&foo1=bar1", 600, 450);

can this is possible?

more ▼

answered Jul 04 '11 at 06:25 AM

jain_yuvraj gravatar image

jain_yuvraj
1 2 2 3

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

hello elis,

The Above Broken link is here.. Click Here

more ▼

answered Jul 04 '11 at 06:49 AM

jain_yuvraj gravatar image

jain_yuvraj
1 2 2 3

(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:

x3460
x104
x40
x5

asked: Jul 02 '11 at 06:54 AM

Seen: 1112 times

Last Updated: Jul 21 '11 at 08:21 AM