# Inline Frame - what does allowFullScreen do?

**URL:** <https://forum.inductiveautomation.com/t/inline-frame-what-does-allowfullscreen-do/110488>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [September 9, 2025, 3:23pm UTC](https://forum.inductiveautomation.com/t/inline-frame-what-does-allowfullscreen-do/110488 "2025-09-09T15:23:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [September 9, 2025, 3:23pm UTC](https://forum.inductiveautomation.com/t/inline-frame-what-does-allowfullscreen-do/110488/1 "2025-09-09T15:23:00Z")

</div>

[Perspective - Inline Frame | Ignition User Manual](https://docs.inductiveautomation.com/docs/8.1/appendix/components/perspective-components/perspective-display-palette/perspective-inline-frame) says:

> **allowFullScreen** Whether or not to allow embedded webpage to display full screen. Default is false.

What is it supposed to do?

* * *

Related:

I have a view, half of which is an inline frame showing a PDF of control panel layout.  
I'd like the PDF to default zoom to fill the frame height or width.

Any ideas?  
Thanks!

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [September 9, 2025, 3:39pm UTC](https://forum.inductiveautomation.com/t/inline-frame-what-does-allowfullscreen-do/110488/2 "2025-09-09T15:39:42Z")

</div>

> [@Transistor](#):
>
> What is it supposed to do?

Sets this property on the iframe: [HTMLIFrameElement: allowFullscreen property - Web APIs | MDN](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/allowFullscreen)

it controls whether or not the embedded page is allowed to request to be displayed full screen.

Not sure about your related question though.

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [September 9, 2025, 4:19pm UTC](https://forum.inductiveautomation.com/t/inline-frame-what-does-allowfullscreen-do/110488/3 "2025-09-09T16:19:30Z")

</div>

Further reading suggests that it's a signal to the content player (such as YouTube or Vimeo) to enable their own show full screen control. It looks like the browsers' native PDF viewers don't support it.

There's a website dedicated to the topic!

> **[Can allowfullscreen be used with any iframe content?](https://www.allowfullscreen.com/questions?q=Can%2Ballowfullscreen%2Bbe%2Bused%2Bwith%2Bany%2Biframe%2Bcontent%3F)**
