对象嵌入在Internet Explorer中不起作用 [英] Object embed not working in Internet Explorer

查看:184
本文介绍了对象嵌入在Internet Explorer中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好吧所以我试图用这段代码嵌入一个swf文件:

Alright so I'm trying to embed an swf file with this code:

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" 
    type="application/x-shockwave-flash" width="640" height="480">
    <param name="FlashContent" value="http://www.drudexflash.com/flash/Vegetard_3.swf" />
    <param name="quality" value="high" />
    <embed src="http://www.drudexflash.com/flash/Vegetard_3.swf" quality="high" width="640" height="480" 
    name="Vegetard - Dragonzball P" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
    </object>

它似乎在每个浏览器上工作正常,除了Internet Explorer,像youtube这样的flash内容似乎工作正常

it seems to work fine on every browser except for internet explorer, flash content like youtube seems to work fine

推荐答案

Internet Explorer使用对象标记。尝试设置与您拥有的分类不同的分类。你可以看到我在这里设置的工作版本: http://jsfiddle.net/cYrFx/2/

Internet Explorer uses the object tag. Try setting a different classid than the one you have. You can see a working version I set up here: http://jsfiddle.net/cYrFx/2/

这篇关于对象嵌入在Internet Explorer中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆