为什么我的嵌入式YouTube视频可在Firefox中使用,但不能在Internet Explorer中使用? [英] Why does my embedded YouTube video work in Firefox, but not Internet Explorer?

查看:176
本文介绍了为什么我的嵌入式YouTube视频可在Firefox中使用,但不能在Internet Explorer中使用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用以下代码显示YouTube视频。

I'm using the following code to display a YouTube video.

<object width="425" height="344">
    <param name="movie" 
           value="**URL**">
    </param>
    <param name="allowFullScreen" 
           value="true">
    </param>
    <embed src="**URL**" 
           type="application/xshockwave-flash" 
           allowfullscreen="true" 
           width="425"
           height="344">
    </embed>
</object>

它可以在Firefox中使用,但为什么不在Internet Explorer中?

It works in Firefox, but why doesn't it in Internet Explorer?

我是一个全新的web开发,所以我遇到所有这些奇怪的不一致,老兵们习惯;)

I'm a totally new to web development, so I'm running into all these wonderful inconsistencies that you veterans are used to ;)

推荐答案

尝试:

<object type="application/x-shockwave-flash" data="VID_URL" width="425" height="344">
    <param name="movie" value="VID_URL" />
</object>

这篇关于为什么我的嵌入式YouTube视频可在Firefox中使用,但不能在Internet Explorer中使用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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