dongliang1223
2016-02-02 08:12
浏览 235

iframe Allowfullscreen在ie11中不起作用,适用于youtube视频,不适用于其他网站src

Here are two lines of HTML code:

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 (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>

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).

How can I resolve this.

Thanks in advance.

图片转代码服务由CSDN问答提供 功能建议

以下是两行HTML代码:

我的网站网址(不 在IE中工作

 &lt; 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&gt;&lt; / iframe&gt; 
   
 
 

YouTube(在IE中有效)

 &lt  ; 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; amp; id = NzIxOA%3D%3D“scrolling =”no“frameborder =”0“height =”230“width =”400“allowfullscreen&gt;&lt; / iframe&gt; 
   \  n 
 

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

如何 我能解决这个问题。

提前致谢。

  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

1条回答 默认 最新

  • dongxi8297 2016-02-23 07:37
    已采纳

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

    打赏 评论