mardi 14 avril 2015

Embed Silverlight on Spring web application

I was trying to embed a Silverlight application in HTML using Spring and I have problems because the application doesn't show up, but when I use the same code in a simple html (just a folder with Silverlight file + the HTML file) Silverlight works fine, so I want to know if somebody can help me with this.



<object width="100%" height="100%"
type="application/x-silverlight-2"
data="data:application/x-silverlight-2," >
<param name="source" value="/resources/Silverlight/private/SilverlightApplication2.xap"/>
<param name="onerror" value="onSilverlightError" />
<param name="background" value="white" />
<param name="minRuntimeVersion" value="4.0.60310.0" />
<param name="autoUpgrade" value="true" />
<param name="enableHtmlAccess" value="true" />
<a href="http://ift.tt/1DYtpl2"
style="text-decoration: none;">
<img
src="http://ift.tt/13MoAIc"
alt="Get Microsoft Silverlight"
style="border-style: none"/>
</a>
</object>

Aucun commentaire:

Enregistrer un commentaire