Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Spletno mesto bo delovalo z omejenimi zmožnostmi, medtem ko na njem izvajamo vzdrževalna dela za vas. Če članki ne rešijo vaše težave in želite zastaviti vprašanje, naša skupnost za podporo čaka na vas na @FirefoxSupport na Twitterju in na /r/firefox na Redditu.

Iskanje po podpori

Izogibajte se prevarantski tehnični podpori. Nikoli vam ne bomo naročili, da pokličete telefonsko številko ali nam pošljete osebne podatke. Sumljivo dejavnost prijavite z gumbom »Prijavi zlorabo«.

Več o tem

Firefox 4 will not load Flash sites that have been validated by http://validator.w3.org/ ?

  • 4 odgovori
  • 8 ima to težavo
  • 1 ogled
  • Zadnji odgovor od dannydale

more options

I built 3 flash sites (all in Action Script 2). 2 of the 3 sites have been validated with http://validator.w3.org/ and will not play in FireFox 4:

http://d2visions.com/  
http://ecstelecomservices.com/

The 3rd site has not been validated (8 errors) and plays fine in FireFox 4:

http://f1mode.com/

My Flash player is updated ("You have version 10,2,153,1 installed") and works with other Flash sites - all checked with W3C and showing errors. I have spent some time on this and believe it has something to do with

Line 84, Column 20: there is no attribute "src"... the embed src "" part....

Any ideas?

I built 3 flash sites (all in Action Script 2). 2 of the 3 sites have been validated with http://validator.w3.org/ and will not play in FireFox 4: http://d2visions.com/ http://ecstelecomservices.com/ The 3rd site has not been validated (8 errors) and plays fine in FireFox 4: http://f1mode.com/ My Flash player is updated ("You have version 10,2,153,1 installed") and works with other Flash sites - all checked with W3C and showing errors. I have spent some time on this and believe it has something to do with Line 84, Column 20: there is no attribute "src"... the embed src "" part.... Any ideas?

Spremenil cor-el

Vsi odgovori (4)

more options

Code like this with a classid doesn't work in Firefox.
You added a param tag with embed, but you need to create an embed tag with the code to load that Flash movie

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="1000" height="720"><param name="movie" value="ecs_final_3.swf" />
<param name="quality" value="high" />
<param name="BGCOLOR" value="#FFFFFF" />
<param name="embed" value="" />
</object>


<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="1000" height="720"><param name="movie" value="ecs_final_3.swf" />
<param name="quality" value="high" />
<param name="BGCOLOR" value="#FFFFFF" />

<embed src="ecs_final_3.swf" quality="high" type="application/x-shockwave-flash" width="1000" height="720" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" style="background-color: #FFFFFF">

</object>
more options

Thanks cor-el for that.... I made the changes to my http://d2visions.com site and it plays in FF4.... however, when checked with W3C Validator I now have 9 errors:

Line 48, Column 12: there is no attribute "src"

more options

If you want to avoid validation problems then use conditional code to hide the object code for Firefox.


<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="1000" height="720">
<param name="movie" value="ecs_final_3.swf" />
<param name="quality" value="high" />
<param name="BGCOLOR" value="#FFFFFF" />

<!--[if !IE]>-->
 <object data="ecs_final_3.swf" width="1000" height="720" type="application/x-shockwave-flash" style="background-color: #FFFFFF" >
  <param name="quality" value="high" />
  <param name="pluginurl" value="http://www.macromedia.com/go/getflashplayer" />
 </object>
<!--<![endif]-->

</object>

Spremenil cor-el

more options

That did it! Thanks again, cor-el :)