18
Views
3
Comments
Outsystems UI Iframe
Question

Hi,

I'd like to know if I can disable the theater mode while playing the youtube using iFrame.


Thank you.

Hailey

mvp_badge
MVP
Rank: #51

Hi Hailey,

Could you please provide some more details on it , a sample oml with the scenario will be great help to provide solution.

Regards,

-PJ-


mvp_badge
MVP
Rank: #17

As Pramod, already mentioned your question laks the basic details, for example do you use a forge component for this, or did you code it yourself in an Iframe. Can you share your code, so one can look at it and maybe fit it.

mvp_badge
MVP
Rank: #72

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

YouTubeEmbedDemo.oml