swfobject不在firefox 3中工作?

时间:2022-04-16 09:56:09

My javascript code as follows:

我的javascript代码如下:

BBS.SO = new SWFObject("/Client/Css/sound.swf", "mysound", "1", "1", "8", "#336699");

BBS.SO.write('swfholder');

it used to work,but not now in firefox,but in iE it still works.

它曾经工作,但现在不在Firefox中,但在iE它仍然有效。

Is there such a bug with swfobject?it's a opensource project.

swfobject有这样的错误吗?它是一个开源项目。

it seems in firefox3,there is a great delay when inserting such an embed into a div element:

在firefox3中,将这样的嵌入插入div元素时会有很大的延迟:

<embed id="mysound" height="1" width="1" quality="high" bgcolor="#336699" name="mysound" style="" src="/Client/Css/sound.swf" type="application/x-shockwave-flash"/>

Is it really a bug with firefox3?any work-around?

它真的是firefox3的一个bug吗?任何解决方法?

Or you can check out this testing page,

或者您可以查看此测试页面,

http://maishudi.com/test.php

with IE you'll hear a sound,

用IE你会听到声音,

but for firefox3 users,it's quiet...

但对于firefox3用户来说,它很安静......

1 个解决方案

#1


Your example page played a sound in Firefox 3.0.10 for me on both Ubuntu (Jaunty) and 32-bit Windows XP SP3.

您的示例页面在Ubuntu(Jaunty)和32位Windows XP SP3上为我在Firefox 3.0.10中播放了声音。

#1


Your example page played a sound in Firefox 3.0.10 for me on both Ubuntu (Jaunty) and 32-bit Windows XP SP3.

您的示例页面在Ubuntu(Jaunty)和32位Windows XP SP3上为我在Firefox 3.0.10中播放了声音。