SWF 对象 Flash 影片出现在我的厚盒中
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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
查看此解决方案。看看它是否适合您。
Check out this solution. See if it works for you.
你没有关闭你的 div...你缺少 /div 标签。
另外,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.
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/