x


Web player my missing HTML is not working

Hi,

I'm trying to deploy a webplayer unity application and I have customize my "missing" div with some html but apparently Unity Javascript code is replacing my code no matter what I do.

What most intrigued me was that oldest projects of mine where I used the same code, now they are not working also. I'm including the file http://webplayer.unity3d.com/download_webplayer-3.x/3.0/uo/UnityObject.js in all projects and I suspect that Unity changed the code and now is affecting all my projects including the ones that were working in the past.

Could anyone give me a hand with this issue?

Thank you very much.

more ▼

asked Jan 12 '11 at 07:52 PM

gads gravatar image

gads
1 1 1 1

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

1 answer: sort voted first

i've had the very same issue and solved it using the callback parameter of the unityObject.embedUnity function (http://unity3d.com/support/documentation/Manual/Working%20with%20UnityObject.html).

If loading Unity fails for some reason, I completely hide the unityPlayer div via javascript and show another (former hidden) div with my custom call for installing unity.

hth

more ▼

answered Jun 21 '11 at 12:32 PM

netatti gravatar image

netatti
1 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:

x3451
x810
x211
x72

asked: Jan 12 '11 at 07:52 PM

Seen: 1090 times

Last Updated: Jun 27 '11 at 11:57 AM