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.

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);

Hello Mr. Graham,

Thank you for your answer.

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

Thanks,

  • Elis

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?

hello elis,

The Above Broken link is here…
Click Here