Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

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

  • 4 réponses
  • 8 ont ce problème
  • 1 vue
  • Dernière réponse par 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?

Modifié le par cor-el

Toutes les réponses (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>

Modifié le par cor-el

more options

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