Inline Frame - what does allowFullScreen do?

Perspective - Inline Frame | Ignition User Manual 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!

Sets this property on the iframe: HTMLIFrameElement: allowFullscreen property - Web APIs | MDN

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

Not sure about your related question though.

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!

1 Like