开发者

chrome won't load swf files

I was asked by a family member to fix their site, but since I don开发者_Go百科't work in Flash I'm not certain how to target the problem.

The site is in Wordpress 3.2.1 and uses two small .swf files created in CS5 - neither of which will load in Chrome 11 or 13. They test ok in Firefox/Safari/IE for all modern versions. I've been digging for an answer but it seems this problem may be both pervasive and unique to each local environment. Maybe someone here has a fix?

here is the site: www.countdowntoday.com

here is the code from the index page:

<object width="400" height="320"> <param name="movie" value="countdown.swf"> <embed src="<?php bloginfo('template_directory'); ?>/flash/countdown.swf" width="400" height="320"> </embed> </object>

Any advice would be greatly appreciated.


I think that the problem is that value="countdown.swf" and src="<?php bloginfo('template_directory'); ?>/flash/countdown.swf" points to differents places.

Change the value property to the same as src and should work.

Also, please check this guide in order to embed correctly flash files http://latrine.dgx.cz/how-to-correctly-insert-a-flash-into-xhtml

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜