Neil Neil - 2 months ago 21
HTML Question

YouTube iframe embed - full screen

I have a form that is iframed into a web page. Upon completion of the form, a YouTube video is displayed from using iframe embed.

When I enter full screen mode of the YouTube video, nothing really happens.

Is the fullscreen of the nested iframe constrained by the dimensions of the parent iframe?

Answer Source

Adding allowfullscreen="allowfullscreen" and altering the type of YouTube embed fixed my issue.