嵌入标签不起作用 [英] embed tag not working
问题描述
我正在使用< embed>在我们的网站中对战视频标记.但是问题在于它在IE9上运行良好,但在IE8上却不起作用?为什么?
请给我解决方案.........
Hi,
I am using the <embed> tag in our website foe video play. But problem is that it wrks fine on IE9 but it doesn''t work in IE8?why?
pls giv me the solution............
推荐答案
IE要求它位于OBJECT标记中,而不是EMBED标记中. br/> < OBJECT>标记用于将SWF文件添加到HTML页面. < EMBED>标签也可以使用,但是它已经过时了,现在已经过时了:此处的详细信息 [ ^ ]
您需要使用Object
标签嵌入它:
IE requires this to be in the OBJECT tag, not the EMBED tag.
The <OBJECT> tag is used to add SWF files to HTML pages. The <EMBED> tag can also be used, but is older and now obsolete: Details here[^]
You need to embed it usingObject
tag:
<object type="application/x-shockwave-flash" data="yourflash.swf" width="" height="">
<param name="video" value="myflash.swf" />
</object>
在这里查看详细信息:
如何在Asp.Net中播放SWF文件 [ ^ ]
您也可以使用免费的版本控件来执行相同的操作: http://www.flash-control.net/ [ ^ ]
在这里查看详细信息:
如何在Asp.Net中播放SWF文件 [ ^ ]
这里讨论的其他选项很少:
如何将Flash(.swf)文件嵌入ASP .net? [ ^ ]
Look here for details:
How To Play SWF File In Asp.Net[^]
You can also use a free version control to do the same: http://www.flash-control.net/[^]
Look here for details:
How To Play SWF File In Asp.Net [^]
Few more options discussed here:
How to embed a flash (.swf) file into asp.net?[^]
这篇关于嵌入标签不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!