dongliang1223 2016-02-02 08:12
浏览 292
已采纳

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.

  • 写回答

1条回答 默认 最新

  • dongxi8297 2016-02-23 07:37
    关注

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

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 ads仿真结果在圆图上是怎么读数的
  • ¥20 Cotex M3的调试和程序执行方式是什么样的?
  • ¥20 java项目连接sqlserver时报ssl相关错误
  • ¥15 一道python难题3
  • ¥15 用matlab 设计一个不动点迭代法求解非线性方程组的代码
  • ¥15 牛顿斯科特系数表表示
  • ¥15 arduino 步进电机
  • ¥20 程序进入HardFault_Handler
  • ¥15 oracle集群安装出bug
  • ¥15 关于#python#的问题:自动化测试