Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

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

  • 4 trả lời
  • 8 gặp vấn đề này
  • 5 lượt xem
  • Trả lời mới nhất được viết bởi 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?

Được chỉnh sửa bởi cor-el vào

Tất cả các câu trả lời (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>

Được chỉnh sửa bởi cor-el vào

more options

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