搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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

  • 4 个回答
  • 8 人有此问题
  • 1 次查看
  • 最后回复者为 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?

由cor-el于修改

所有回复 (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>

由cor-el于修改

more options

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