Post date: Aug 20, 2010 11:32:10 PM
I decided to embed Unity Web player into my google site however there was no pre built google gadget available for that so i had to make my own hack . If you know about google site and Unity then you will enjoy this.
http://hosting.gmodules.com/ig/gadgets/file/113662096703289524343/UnityGadget.xml
<Module>
<ModulePrefs title="__UP_myname__ : by Pushpendre" title_url="http://sites.google.com/site/pushpendre/unity3d-gui-tutorial-with-sample-code" height="460" width="600" author="Pushpendre Rastogi" author_email="pushpendre@gmail.com" description="A google gadget to Wrap Unity3D web player app. the Web player must be hosted online and should be accessible."/>
<UserPref name="mygame" display_name="Unity Game URL" datatype="string" required="false" default_value="http://sites.google.com/site/pushpendre/conference-paper-files/paradise2.unity3d"/>
<UserPref name="myname" display_name="Game Title" datatype="string" required="false" default_value="Simple Gui Tut"/>
−
<Content type="html">
<object id="UnityObject" classid="clsid:444785F1-DE89-4295-863A-D46C3A781394"
width="600" height="450"
codebase="http://webplayer.unity3d.com/download_webplayer/UnityWebPlayer.cab#version=2,0,0,0">
<param name="src" value= "http://sites.google.com/site/pushpendre/conference-paper-files/build1.unity3d"/>
<embed id="UnityEmbed" src="http://sites.google.com/site/pushpendre/conference-paper-files/build1.unity3d" width="600" height="450"
type="application/vnd.unity" pluginspage="http://www.unity3d.com/unity-web-player-2.x" />
</object>
</Content>
</Module>