Click here to Skip to main content
15,888,269 members
Articles / Silverlight
Tip/Trick

Problems with Silverlight object in Mozilla Firefox

Rate me:
Please Sign up or sign in to vote.
0.00/5 (No votes)
1 Jul 2011CPOL 19.1K   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, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Student
Spain Spain
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
-- There are no messages in this forum --