I am trying to embed a silverlight object in my JavaScript/HTML based container application, but looks like myspace is not rendeing it. The XAP file is on my sever and I used absolute path to XAP in the source attribute. Here is what the code looks like in html:
<div id="game" >
<object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="700px" height="600px" >
<param name="source" value="[http://mydomain.com]/.xap"/>
<param name="onError" value="onSilverlightError" />
<param name="background" value="white" />
<param name="minRuntimeVersion" value="3.0.40624.0" />
<param name="autoUpgrade" value="true" />
<param value="true" name="windowless"/>
<a href="http://go.microsoft.com/fwlink/?LinkID=149156&v=3.0.40624.0" style="text-decoration:none">
<img src="http://go.microsoft.com/fwlink/?LinkId=108181" alt="Get Microsoft Silverlight" style="border-style:none"/>
</a>
</object>
<iframe id="_sl_historyFrame" style="visibility:hidden;height:0px;width:0px;border:0px"></iframe>
</div>
I do see the silverlight object in the broswer however looks like my .XAP file is not getting loaded.
Any help would be hightly appreciated!