<script type="text/javascript"
src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script type="text/javascript"
src="https://ssl-webplayer.unity3d.com/download_webplayer-3.x/3.0/uo/UnityObject2.js"></script>
<script type="text/javascript"
src="Address_of_CTWebPlayer.min.js"></script>
<script type="text/javascript">
var player = new CTWebPlayer({
params: { logoimage: "Address_of_Logo_Image"}});
$(function () {
player.playerUrl = "Address_of_Web_Player";
player.init($("#unityPlayer"), function () {
player.loadProject("Address_of_Project", {
playAfter: 1.5,
idleMotionUrl: "Address_of_Idle_Motion"
});
});
});
</script>
|