Reputation: 995
We have an existing silverlight control. now we want to use this control in one of our HTML5 projects.
Is this possible, to use silverlight control inside HTML5 page?
Upvotes: 0
Views: 51
Reputation: 66
From the official Microsoft documentation, you should use this piece of HTML:
<object width="300" height="300"
data="data:application/x-silverlight-2,"
type="application/x-silverlight-2" >
<param name="source" value="NAME_OF_YOUR_SILVELIGHT_FILE.xap"/>
</object>
Upvotes: 1