SWF 对象 Flash 影片出现在我的厚盒中

发布于 2024-07-20 23:25:23 字数 680 浏览 9 评论 0原文

SWF 电影位于所有内容之上,包括厚盒中出现的内容。 我不知道为什么会发生这种情况。

这个问题仅出现在 IE7 上(到目前为止),但可能至少出现在 IE6 上(我没有 IE6 来测试)。 下面是我用来嵌入 Flash 影片的代码:

<div id="flash">You need the Flash Player to view this video.
<script type="text/javascript"><!--
/*<! */
var so = new SWFObject("mixed.swf", "flash", 529, 323, "9");
so.write("flash");
/*-->*/
</script> 

我使用的是 Thickbox,因为网站上还有其他 jQuery 位。 该网站的网址是 http:// /clients.bionic-comms.co.uk/fox/foxintouch-wp/issue/13/brand-highlights/

如果有人能给我答案,我将非常感激。 提前致谢

The swf movie sits on top of everything including the stuff that comes up in thickbox. I have no idea why this is happening.

This problem is only on IE7 (so far) but is likely to be in at least IE6 (I don't have IE6 to test on). BElow is the code I am using to embed my flash movie:

<div id="flash">You need the Flash Player to view this video.
<script type="text/javascript"><!--
/*<! */
var so = new SWFObject("mixed.swf", "flash", 529, 323, "9");
so.write("flash");
/*-->*/
</script> 

I am using thickbox as I have other jQuery bits on the site. The url for the site is http://clients.bionic-comms.co.uk/fox/foxintouch-wp/issue/13/brand-highlights/

If someone could give me the answer I would be very appreciative. Thanks in advance

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

抱着落日 2024-07-27 23:25:23

查看此解决方案。看看它是否适合您。

Check out this solution. See if it works for you.

帅气称霸 2024-07-27 23:25:23

你没有关闭你的 div...你缺少 /div 标签。

<div id="flash">You need the Flash Player to view this video.**</div>**
<script type="text/javascript">
var so = new SWFObject("mixed.swf", "flash", 529, 323, "9");
so.write("flash");
</script>

另外,SWFObject 代码不应放置在目标 div 内; 这给一些人带来了问题。

我发现您正在使用 SWFObject 1.5; 我建议升级到 SWFObject 2.2,因为它包含有关内存泄漏和 Flash 视频的重要错误修复。 http://code.google.com/p/swfobject/

You're not closing your div... you're missing the /div tag.

<div id="flash">You need the Flash Player to view this video.**</div>**
<script type="text/javascript">
var so = new SWFObject("mixed.swf", "flash", 529, 323, "9");
so.write("flash");
</script>

Also, the SWFObject code shouldn't be placed inside the target div; this has caused problems for some people.

I see you're using SWFObject 1.5; I suggest upgrading to SWFObject 2.2, as it contains an important bugfix regarding memory leaks and Flash video. http://code.google.com/p/swfobject/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文