Skip to main content

Microsoft Silverlight

Unanswered Question Silverlight is not working on FirefoxRSS Feed

(1)

sahina
sahina

Member

Member

7 points

6 Posts

Silverlight is not working on Firefox

This is interesting. Silverlight installation is working on my IE7 I get the "Get Silverlight" image in Firefox. I uninstalled and reinstalled Silverlight but no change. I also installed the Silverlight Alpha Refresh. I am also on Vista Ultimate.

Any ideas why Silverlight would not work on my Firefox?
 

sahina
sahina

Member

Member

7 points

6 Posts

Re: Silverlight is not working on Firefox

Never mind. The issue was due to an add-on Firefox. It works now! 

mattcasto
mattcasto

Member

Member

47 points

22 Posts

Re: Silverlight is not working on Firefox

 I'm interested in which add-on was causing this behavior, since I have the same problem.

Matt Casto
http://twitter.com/mattcasto

sahina
sahina

Member

Member

7 points

6 Posts

Re: Silverlight is not working on Firefox

It was this add-on:

https://addons.mozilla.org/en-US/firefox/addon/1879

 

blanders
blanders

Member

Member

148 points

58 Posts

Microsoft

Re: Silverlight is not working on Firefox

We've been getting reports of problems with the FlashBlock add on

Bridgette [MSFT]

itinko
itinko

Member

Member

8 points

5 Posts

Re: Silverlight is not working on Firefox

 I don't have either of those addons and Silverlight doesn't show up in my FireFox pages.

Daniel Harvey
Daniel H...

Participant

Participant

1282 points

391 Posts

Microsoft

Re: Silverlight is not working on Firefox

 

Have you restarted Firefox?

itinko
itinko

Member

Member

8 points

5 Posts

Re: Silverlight is not working on Firefox

 Yes, I've even rebooted. Flash, Acrobat Reader etc. plugins all work fine in FF. The Silverlight "Get it here" icon appears on pages with Silverlight content. I can always fire up IE7 to view the handfull of training videos done in Silverlight but its annoying. Fortunately most of them are presented in Flash (ASP.NET, LINQ etc.).

 

Thanks..

Daniel Harvey
Daniel H...

Participant

Participant

1282 points

391 Posts

Microsoft

Re: Silverlight is not working on Firefox

Is it possible that Silverlight is disabled? You should be able to check at about:plugins.

Daniel Harvey
Daniel H...

Participant

Participant

1282 points

391 Posts

Microsoft

Re: Silverlight is not working on Firefox

Are you running Firefox 3?

itinko
itinko

Member

Member

8 points

5 Posts

Re: Silverlight is not working on Firefox

 about:plugins shows Silverlight enabled:

Silverlight Plug-In

File name: npctrl.1.0.30109.0.dll 1.0.30109.0
MIME Type Description Suffixes Enabled
application/x-silverlight npctrl scr Yes

Yes, I am running FF 3 Beta 3 soon to be Beta 4! FF3 performance and memory management is vastly improved over FF2.

Daniel Harvey
Daniel H...

Participant

Participant

1282 points

391 Posts

Microsoft

Re: Silverlight is not working on Firefox

I'm sorry to say that the released version of Silverlight.js doesn't currently work with Firefox 3, they've done a breaking change in how they interpret object tags I believe.

itinko
itinko

Member

Member

8 points

5 Posts

Re: Silverlight is not working on Firefox

 I expected it was something like that. Seems pages displaying Flash are using either :

<script language="javascript">
if (AC_FL_RunContent == 0) {
alert("This page requires AC_RunActiveContent.js.");
} else {
AC_FL_RunContent(
'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0',
... 
or:
<script type="text/javascript">
var so = new SWFObject("movie.swf", "mymovie", "400", "200", "8", "#336699");
so.write("flashcontent");
</script>
so object is not involved. Too bad, seems all of Joe Stenger's videos have been converted to Silverlight :( 

 

blackmonday
blackmonday

Member

Member

26 points

35 Posts

Re: Silverlight is not working on Firefox

I'm having this problem and have Firefox 2.0.0.14 installed. Until Microsoft resolves this I can't justify spreading the word about Silverlight or share links. The experience has to be for all browser on all platforms to have a winner and not supporting Firefox is a loose situation. :(

Alan van der Vyver
Alan van...

Member

Member

2 points

1 Posts

Re: Silverlight is not working on Firefox

I agree fully. Microsoft said they were serious about Silverlight. Now it appears they can't be bothered. We have some Silverlight content on our web site, but if they don't fix the Firefox 3 problem (which is now a release candidate) very soon, it will come off and may not ever go back.

regards,
Alan.

pote
pote

Member

Member

2 points

1 Posts

Re: Re: Silverlight is not working on Firefox

 http://blogs.msdn.com/ronang/archive/2008/07/10/firefox-3-and-silverlight.aspx

That's why.

Saki33
Saki33

Member

Member

2 points

1 Posts

Re: Silverlight is not working on Firefox

OS, Vista Home. I installed Silverlight plugin for Firefox to be able to watch Olympics content at NBC. When I restarted My browser all of my bookmarks and bookmarks toolbar had vanished. All of the navigation buttons were grayed out. My browser did not open to my home page, or any page. I typed in a URL, but still the navigation buttons were grayed. Silverlight had essentially removed all useful function from Firefox. I disabled the Silverlight plugin, but that had no effect. I was able to get bookmarks back and restore all the functions to Firefox by running System Restore. That did not get rid of Silverlight, but I disabled it again.

microsucks
microsucks

Member

Member

2 points

1 Posts

Re: Silverlight is not working on Firefox

Can anyone tell me why they say:
"Microsoft Silverlight is a cross-browser, cross-platform, and cross-device plug-in"?

When  i try to view the silverlight website on firefox linux it say's:

"Microsoft Silverlight may not be supported on your computer's hardware or operating system."

 They lie...

 

jamlew
jamlew

Contributor

Contributor

2786 points

425 Posts

Microsoft

Re: Silverlight is not working on Firefox

microsucks:

Can anyone tell me why they say:
"Microsoft Silverlight is a cross-browser, cross-platform, and cross-device plug-in"?

When  i try to view the silverlight website on firefox linux it say's:

"Microsoft Silverlight may not be supported on your computer's hardware or operating system."

 They lie...

Linux support for Silverlight is being provided through the Moonlight project.

---------
If this post has solved your problem, please select 'Mark as answer'

- Jimmy Lewis
Microsoft SDET
Visual Web Developer Team
Silverlight Tools for VS

Alexander Manenko
Alexande...

Member

Member

436 points

189 Posts

Re: Re: Silverlight is not working on Firefox

 But they said, that MICROSOFT Silverlight is crossplatfrom :) There is no any word about Moonlight. So, Microsoft Silverlight is not crossplatfrom.

Yes, I understand, that we should wait for RTW............

GearWorld
GearWorld

Participant

Participant

820 points

1,084 Posts

Re: Re: Silverlight is not working on Firefox

My web site is FULL SilverLight RTW 

Gray background. Which is the ASP.NET background of course.  It says "Transfering data from..." at the bottom of FF3 but SilverLight never loads

http://gearworld.dyndns.org:8082/devpreview

Workds fine in IE

 

makkros
makkros

Member

Member

14 points

7 Posts

Re: Re: Silverlight is not working on Firefox

GearWorld:

My web site is FULL SilverLight RTW 

Gray background. Which is the ASP.NET background of course.  It says "Transfering data from..." at the bottom of FF3 but SilverLight never loads

http://gearworld.dyndns.org:8082/devpreview

Workds fine in IE

 

GearWorld you are not alone! I have the same exact problem,

my application

and I can't undestrand where is the problem.

makkros
makkros

Member

Member

14 points

7 Posts

Re: Re: Silverlight is not working on Firefox

It is a Firefox problem not Silverlight problem. It is mandatory to insert style="height:xx" in the div tag in order to view it in Firefox.

I had my Silverlight object inside an ajax UpdatePanel, and this control is rendered inside a simple DIV, so Firefox didn't visualize it. I had to use a custom UpdatePanel and now it's all full working.

 

 

GearWorld
GearWorld

Participant

Participant

820 points

1,084 Posts

Re: Re: Silverlight is not working on Firefox

We all know this.  But we don't have to modify our application for FireFox to work.  They'll fix it.

makkros
makkros

Member

Member

14 points

7 Posts

Re: Re: Re: Silverlight is not working on Firefox

my previous post is just to say that is not a Silverlight problem

GearWorld
GearWorld

Participant

Participant

820 points

1,084 Posts

Re: Re: Re: Silverlight is not working on Firefox

When should we expect it to works in FireFox.  We don't even know if someone is working on the problem
There's not supose to have a place where KNOWN BUGS and PROGRESS are reported on a certain blog somewhere in the thousands and thousands of blogs out there ?

 

 

DSKG
DSKG

Member

Member

8 points

4 Posts

Re: Re: Re: Re: Silverlight is not working on Firefox

I have also same issue with mozilla. I have Firefox version 3.0.6 latest and silverlight version 2.0.31005.0.

DJanjicek
DJanjicek

Participant

Participant

964 points

319 Posts

Re: Re: Re: Re: Silverlight is not working on Firefox

Same here.... App is not running in firefox 3

kidfess
kidfess

Member

Member

3 points

2 Posts

Re: Re: Re: Re: Silverlight is not working on Firefox

 Maybe this link can help:

Silverlight Plug-in and the Height Percentage problem in Firefox

 http://www.nablasoft.com/guardian/index.php/2008/11/06/silverlight-plugin-height-percentage-problem-firefox/

 

K.Fess

DJanjicek
DJanjicek

Participant

Participant

964 points

319 Posts

Re: Re: Re: Re: Silverlight is not working on Firefox

not working for me....

here's my code:

css:

body, html, form

{

background-color: #373a3f;

height: 100%;

margin: 0;

}

.SilverlightApp

{

Width: 100%; Height: 100%;

}

aspx:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MensInZicht.aspx.cs" Inherits="MiZ.FrontEnd.MensInZicht" %>

<%@ Register Assembly="System.Web.Silverlight" Namespace="System.Web.UI.SilverlightControls"
    TagPrefix="asp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" style="height: 100%;">
<head id="Head1" runat="server">
    <link rel="stylesheet" type="text/css" href="screen.css" />  
</head>
<body>
    <form id="form1" runat="server" style="width: 100%; height: 100%;">
        <asp:ScriptManager ID="ScriptManager1" runat="server" />
        <div style="eight: 100%;">
            <asp:Silverlight ID="SilverlightApp" runat="server" PluginBackground="Transparent"
                Source="~/ClientBin/MiZ.MainApplication.xap"
                MinimumVersion="2.0.31005.0" CssClass="SilverlightApp" />
        </div>
    </form>
</body>
</html>

DJanjicek
DJanjicek

Participant

Participant

964 points

319 Posts

Re: Silverlight is not working on Firefox

Now FF3 is telling me to get the SL plugin !?

Keith MacDonald
Keith Ma...

Member

Member

2 points

1 Posts

Re: Silverlight is not working on Firefox

The problem seems to be with web pages that were created with earlier releases of silverlight.js and/or Silverlight.supportedUserAgent.js do not recognize Firefox 3.  Also, some that get past that hurdle have the percentage height problem mentioned above.  Unfortunately, it looks like the web pages will have to be fixed, rather than Silverlight or Firefox.  It would help if MS contacted all those developers whose sites are showcased here.

SteveReconG
SteveReconG

Member

Member

18 points

26 Posts

Re: Silverlight is not working on Firefox

 Don't use '100%' - use something like '800px' for the height

Once I used 800px instead of 100% my Silverlight ran fine

Alexander Manenko
Alexande...

Member

Member

436 points

189 Posts

Re: Silverlight is not working on Firefox

SteveReconG:

 Don't use '100%' - use something like '800px' for the height

Once I used 800px instead of 100% my Silverlight ran fine

This is a bad choice. What about customers with another monitor size/another resolution?

dimon2009
dimon2009

Member

Member

2 points

1 Posts

Re: Silverlight is not working on Firefox

You can try downgrade Firefox to the oldest version or use other programm

Alexander Manenko
Alexande...

Member

Member

436 points

189 Posts

Re: Silverlight is not working on Firefox

dimon2009:
You can try downgrade Firefox to the oldest version or use other programm
 

This can be funny for your customers =-\

Just imagine some bunner on your site  with text like "Please downgrade your Firefox browser if you want to use our site".

GearWorld
GearWorld

Participant

Participant

820 points

1,084 Posts

Re: Silverlight is not working on Firefox

Do we had an update cause my SilverLight application is working nicely in Firefox now

 

DJanjicek
DJanjicek

Participant

Participant

964 points

319 Posts

Re: Silverlight is not working on Firefox

this is really weird stuff... Firefox isn't asking any longer for a plug-in, though is still doesn't work. Firebug is giving me an error: "Sys.InvalidOperationException: ImageError error #4001 in control 'SilverlightApp': AG_E_NETWORK_ERROR"

I have no clue what image could be wrong, since everything is working fine in IE & Google Chrome

DJanjicek
DJanjicek

Participant

Participant

964 points

319 Posts

Re: Silverlight is not working on Firefox

Talking about weird stuff.... The error messages are really worthless!!! I just found the bug, it was simply a typo in my aspx file:

<div style="eight: 100%;">
<asp:Silverlight ID="SilverlightApp" runat="server" PluginBackground="Transparent" Source="~/ClientBin/MiZ.MainApplication.xap" MinimumVersion="2.0.31005.0" CssClass="SilverlightApp" />
</div>

Can you see it? Everything is working fine now...

GearWorld
GearWorld

Participant

Participant

820 points

1,084 Posts

Re: Silverlight is not working on Firefox

haha

Hilarious

 

Prakhar
Prakhar

Member

Member

2 points

1 Posts

Re: Re: Silverlight is not working on Firefox

 Hi,

 I am  using Firefox 3.0.13. and silverlight is not working there also. Any insights?

Help me someone please...

 

SoCalSam
SoCalSam

Member

Member

16 points

6 Posts

Re: Re: Silverlight is not working on Firefox

I'm running Firefox 3.5.2 (Silverlight 2.0.40115.0), IE8 (Silverlight 2.0.40115.0), and Safari 4.0.2 (Silverlight 2.0.40115.0) on XP Pro SP3.  My Silverlight 2 application running in the Silverlight 2 runtime works great in all 3 browsers. 

Reading all these posts makes me not want to upgrade to Silverlight 3.  Anybody else running a Silverlight 3 application in all the latest browsers with no problems?

DJanjicek
DJanjicek

Participant

Participant

964 points

319 Posts

Re: Re: Silverlight is not working on Firefox

I had some trouble too with Firefox until today... It was a stupid css fault, giving a ID element a class declaration ( . instead of # ). And now my SL3 app works just fine with the latest versions of IE7/IE8, Firefox, Safari, Chrome.

 

SoCalSam
SoCalSam

Member

Member

16 points

6 Posts

Re: Re: Silverlight is not working on Firefox

Thanks Dražen.  The forum posts are of course mostly about people having problems, asking for help in solving them.  Unfortunately, I'm having a hard time finding positive feedback.  Your quick reply is appreciated!

chaitanyavrk
chaitany...

Member

Member

250 points

56 Posts

Re: Silverlight is not working on Firefox

One good reason to use IE on development server. Smile

Thank you,
Chaitanya VRK
Silverlight Inspiration
Expression Tuts
------------------------------
Please 'mark as answer' if my reply helps you.

baskarg83
baskarg83

Member

Member

346 points

113 Posts

Re: Re: Re: Silverlight is not working on Firefox

 hi Djanjicek

Even i removed the css file from application, then also my silverlight application is not opening in Mozila firefox, Even in cloud application i have silverlight control, that cloud application with silverlight is also not opening in mozila.

see this link

http://silverlight.net/forums/t/119181.aspx . which i already put this issue. can one tell me reason?

in this post someone told that setting the height to 600px is bad habit, set to 100% is good, (ya i know that because of screen resolution )

but in my post i have mention it , that silverlight app is displaying 1/3 of page in IE8 because  of 100% but when i set to 600 its working fine, can any one tell me the reason

Thanks in advance.

baskarg83
baskarg83

Member

Member

346 points

113 Posts

Re: Re: Re: Re: Silverlight is not working on Firefox

 Hi Every One,

 still i am not able to find the solution, can any one find the answer . please tell me, its very important and urgent.

 

Thanks in Advance

joingehj
joingehj

Member

Member

2 points

1 Posts

Re: Re: Re: Re: Re: Silverlight is not working on Firefox

I've struggled with the same problem for the last days, and finally found out that Firefox sometimes won't run Silverlight when it is hosted in an .aspx file.

If I put the Silverlight app in a regular .html file it works fine...

[EDIT]
If you can put the Silverlight code "<object..." outside the form-tag, it should work fine in .aspx file as well.

 

DJanjicek
DJanjicek

Participant

Participant

964 points

319 Posts

Re: Re: Re: Re: Silverlight is not working on Firefox

Can you post your aspx page? And if an external css file is used please post that one as well

baskarg83
baskarg83

Member

Member

346 points

113 Posts

Re: Re: Re: Re: Re: Re: Silverlight is not working on Firefox

 Thanks for replay ,

 but i need it aspx page, not in html. because in my application am applying silverlight control inside the master page

Is there any other solution?

Here am giving the aspx page, 

This is my Masterpage:-

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" MasterPageFile="~/General.master" Inherits="AzureToolService_WebRole._Default" %>
       

<asp:Content ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<%--    <form runat="server" style="height:auto">--%>
<div id="silverlightControlHost">

       
        <object data="data:application/x-silverlight-3" type="application/x-silverlight-2" height="670" width="100%">
          <param name="source" value=" ClientBin/TCOCalculator.xap"/>
          <param name="onError" value="onSilverlightError" />
          <param name="background" value="white" />
          <param name="minRuntimeVersion" value="3.0.40624.0" />
          <param name="autoUpgrade" value="true" />
          <a href="http://go.microsoft.com/fwlink/?LinkID=149156&v=3.0.40624.0" style="text-decoration:none">
           <img src="http://go.microsoft.com/fwlink/?LinkId=108181" alt="Get Microsoft Silverlight" style="border-style:none"/>
          </a>
        </object>
       
        <iframe id="_sl_historyFrame" style="visibility:hidden;height:0px;width:0px;border:0px"></iframe>
        </div>
       
<%--
        </form>--%>

</asp:Content> 

Thanks in Advance

AndyOfNZ
AndyOfNZ

Member

Member

2 points

1 Posts

Re: Silverlight is not working on Firefox

 I use IE Tab when I see the Silverlight error. Works like a charm (keeps me in FF but uses IE engine to show the page). http://ietab.mozdev.org/

DJanjicek
DJanjicek

Participant

Participant

964 points

319 Posts

Re: Re: Silverlight is not working on Firefox

But that's nothing you want to tell your customers to do. I had some troubles myself, and I got it working. So I guess others can do as well

baskarg83
baskarg83

Member

Member

346 points

113 Posts

Re: Re: Re: Silverlight is not working on Firefox

 can you tell me exact solution for this, because my client is excepting output in all the browsers .

 

Thanks in Advance

baskarg83
baskarg83

Member

Member

346 points

113 Posts

Re: Re: Re: Re: Silverlight is not working on Firefox

  Hi Everyone

finally i got the solution

its very simple , i missed the comma in the object code,

<div id="silverlightControlHost">

       
        <object data="data:application/x-silverlight-3," type="application/x-silverlight-2" height="670" width="100%">
          <param name="source" value=" ClientBin/TCOCalculator.xap"/>
          <param name="onError" value="onSilverlightError" />
          <param name="background" value="white" />
          <param name="minRuntimeVersion" value="3.0.40624.0" />
          <param name="autoUpgrade" value="true" />
          <a href="http://go.microsoft.com/fwlink/?LinkID=149156&v=3.0.40624.0" style="text-decoration:none">
           <img src="http://go.microsoft.com/fwlink/?LinkId=108181" alt="Get Microsoft Silverlight" style="border-style:none"/>
          </a>
        </object>
       
        <iframe id="_sl_historyFrame" style="visibility:hidden;height:0px;width:0px;border:0px"></iframe>
        </div>
 

Now its working

jamlew
jamlew

Contributor

Contributor

2786 points

425 Posts

Microsoft

Re: Re: Re: Re: Silverlight is not working on Firefox

as a minute detail, the data type is still "data:application/x-silverlight-2,".  It's only used to differentiate between Silverlight 1 (unmanaged Silverlight) vs. later versions (managed Silverlight).

---------
If this post has solved your problem, please select 'Mark as answer'

- Jimmy Lewis
Microsoft SDET
Visual Web Developer Team
Silverlight Tools for VS

GearWorld
GearWorld

Participant

Participant

820 points

1,084 Posts

Re: Re: Re: Re: Silverlight is not working on Firefox

This thread seems to go on indifinitely but it has been answered since a long time.

  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities