Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Iframe full screen not working in Chrome?

Tags:

html

iframe

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 enter image description here


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.

like image 382
Renuka CE Avatar asked Jan 06 '16 07:01

Renuka CE


People also ask

How do I enable iframe in full screen?

For more information and examples see: Using Feature Policy > The iframe allow attribute. Set to true if the <iframe> can activate fullscreen mode by calling the requestFullscreen() method. Note: This attribute is considered a legacy attribute and redefined as allow="fullscreen" .

Is iframe deprecated in HTML5?

Deprecated AttributesSome attributes from HTML4 are no longer allowed in HTML5 at all and they have been removed completely. img and iframe. caption, iframe, img, input, object, legend, table, hr, div, h1, h2, h3, h4, h5, h6, p, col, colgroup, tbody, td, tfoot, th, thead and tr. table, tr, td, th and body.


1 Answers

try this way

<iframe src="http://yourpage.com" frameborder="0" allowFullScreen="true" webkitallowfullscreen="true" mozallowfullscreen="true"></iframe>
like image 91
Lalji Tadhani Avatar answered Sep 28 '22 09:09

Lalji Tadhani