iframe Allowfullscreen无法在ie11中工作,适用于youtube视频,不适用于其他网站src [英] iframe Allowfullscreen not working in ie11 , works for youtube video not for other site src

查看:975
本文介绍了iframe Allowfullscreen无法在ie11中工作,适用于youtube视频,不适用于其他网站src的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

以下是两行HTML代码:

Here are two lines of HTML code:

我的网站网址(在IE中不起作用)

My website url (doesn’t work in IE)

<iframe style="box-shadow: 10px 10px 5px #888888; margin: 20px; float: right;" mce_style="box-shadow: 10px 10px 5px #888888; margin: 20px; float: right;" src="http://www.youtube.com/embed/xDMP3i36naA" mce_src="http://www.youtube.com/embed/xDMP3i36naA" scrolling="no" frameborder="0" height="230" width="400" allowfullscreen></iframe>

YouTube(在IE中有效)

YouTube (does work in IE)

<iframe style="box-shadow: 10px 10px 5px #888888; margin: 20px; float: right;" mce_style="box-shadow: 10px 10px 5px #888888; margin: 20px; float: right;" src="http://zenarate.com/index.php?r=site/embeddVideos&amp;id=NzIxOA%3D%3D" mce_src="http://zenarate.com/index.php?r=site/embeddVideos&amp;id=NzIxOA%3D%3D" scrolling="no" frameborder="0" height="230" width="400" allowfullscreen></iframe>

YouTube视频链接正常,但Mysite视频链接无法在Internet Explorer 11中全屏显示(虽然两者在FireFox和Chrome中都能正常工作)。

The YouTube video link works fine but the Mysite video link will not go to full screen in Internet Explorer 11 (although both work fine in FireFox and Chrome).

如何解决此问题。

提前致谢。

推荐答案

Ie11不允许我们使用allowfullscreen。我使用了flash播放器。

Ie11 doesnt allow us to use allowfullscreen. I used flash player for it.

这篇关于iframe Allowfullscreen无法在ie11中工作,适用于youtube视频,不适用于其他网站src的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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