Hi, I’m trying to load my unity game into Html using this simple code in the :
<script src='http://webplayer.unity3d.com/download_webplayer-3.x/3.0/uo/UnityObject2.js'></script>
<script>
var u = new UnityObject2();
u.initPlugin(jQuery("#unityPlayer")[0], "_Compiled.unity3d");
</script>
And then, this code in the :
<div id="unityPlayer">
<div class="missing">
<a href="http://unity3d.com/webplayer/" title="Unity Web Player. Install now!">
<img alt="Unity Web Player. Install now!" src="http://webplayer.unity3d.com/installation/getunity.png" width="193" height="63" />
</a>
</div>
</div>
Howehever, it keeps showing me the button to download the plugin. But the plugin was already installed and on the latest version as it showing in my browser (Google Chrome).
Unity Player - Version: 4.1.2.67171
Unity Player 4.1.2f1
I tried updating the plugin again, but it’s still not working.
This started after I changed my code to the UnityObject2 standards, because even now, if I use UnityObject, it works fine…
What can I do?
Thanks.