Hi Hailey Lee,
Do you mean you want to disable Fullscreen mode, is that it?
You can use an HTML-element instead and define its Tag as iframe and the attributes as follows:

As you can see, in this example there is an allowfullscreen attribute added which will enable the Fullscreen mode:

If you remove the allowfullscreen attribute from the HTML-element, Fullscreen mode will be disabled after that.

And that is it! Fullscreen mode is now disabled:

I have attached the OML (credits to OutSystems MVP Benjith Sam!).
Hope this helps!
Regards,
Nordin