Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles
(untagged)

Problems with Silverlight object in Mozilla Firefox

0.00/5 (No votes)
1 Jul 2011 1  
What to do if a Silverlight media player from your website isn't visible in Firefox or another web browser based on Firefox.

Introduction


If you have inserted a Silverlight object to your website, but you can't watch it on Mozilla Firefox, the problem occurs due to an error in the HTML code. To fix the problem, we must edit a line of this code.


How to fix it?


To fix the problem do the following:



  1. Open the page where we have inserted the player with a web page editor.
  2. We look at the section of the code, and add a comma "," at the end of the string data in this line that we can see in all HTML code (it should be as shown here)
    HTML
    <object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="864" height="468">

  3. Save the changes and see the site.


Web browsers where this problem occurs


This problem can also occur in browsers based on Firefox as Flock, Iceweasel, etc., which may happen on Windows, Mac OS, or Linux (installed Moonlight). Flock 3 is based in Chrome so this will not happen, but yes in previous versions.



 

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here