How to include Silverlight on HTML page with object tag? -


I have to include a silverlight application (.xap file) inside an HTML page.

Using these I am creating this HTML page:

    gt; Top & gt; & gt; Meta http-equiv =" content-type "content =" text / html; Charset = utf-8 "/> & gt; Title & gt; Test Silverlight page & lt; / title & gt; & lt; / head & gt; & lt; body & gt; & lt; Object id =" Silverlight plugins 1 "width =" 300 "height =" 300 "data =" data: app / x-reel-2, "type =" application / x -lillit-2 "& gt; & lt; param name =" source " Value = "Multiple Pages. Xap "/> & Lt;! - Show the installation image - & gt; & lt; a href =" http://go.microsoft.com/fwlink/?LinkID=124807 "style =" text-decoration: None; "& gt; & lt; img src =" http://go.microsoft.com/fwlink/?LinkId=108181 "alt =" Receive Microsoft Silverlight "style =" border-style: none "/ &  

But when I got it to firefox I get a pop-up if I want to run the .xap file:

What should I do to use HTML / Object code So that Silverlight application runs inside the browser instead of browser which asks to execute it?

What is the XAP extension? Is the registered MIM type of server / x-silverlight-app?


Comments