Iframe full screen not working in Chrome?

一个人想着一个人 提交于 2020-01-24 10:00:06

问题


I am integrating Slideshare in my website. Slide presentation is coming fine in small window. But the problem is slide presentation in full screen is not coming in Chrome(website slider itself displaying in full screen). In Mozilla its working fine. Only issue with Chrome. Website link: http://test.kiadb.in/

place used the iframe is next to invest Karnataka image refer image


This code I have used for Iframe <iframe src="http://www.slideshare.net/slideshow/embed_code/56692337" frameborder="2" allowfullscreen="allowfullscreen"></iframe>

Thanks in Advance.


回答1:


try this way

<iframe src="http://yourpage.com" frameborder="0" allowFullScreen="true" webkitallowfullscreen="true" mozallowfullscreen="true"></iframe>



回答2:


Please try this iframe.

<iframe src="http://www.slideshare.net/slideshow/embed_code/56692337" frameborder="2" allowfullscreen></iframe>

I think it will work for you.




回答3:


I got a error in console
just try to solve that

Error pic

and try this iframe

<iframe src="http://www.slideshare.net/slideshow/embed_code/56692337" frameborder="2" allowfullscreen="allowfullscreen" webkitallowfullscreen mozallowfullscreen oallowfullscreen msallowfullscreen></iframe>



回答4:


Try this

allow="autoplay; encrypted-media" allowfullscreen="allowfullscreen" mozallowfullscreen="mozallowfullscreen" msallowfullscreen="msallowfullscreen" oallowfullscreen="oallowfullscreen" webkitallowfullscreen="webkitallowfullscreen" frameborder="0"


来源:https://stackoverflow.com/questions/34627460/iframe-full-screen-not-working-in-chrome

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!