Page 1 of 1

Allowfullscreen parameter for videos

Posted: Tue Jul 06, 2021 10:37 pm
by jcadel
Hi,

We publish our content on a doc portal created for us by a company called Zoomin. We use their transforms. The videos embedded in our documentation are hosted on our site, not YouTube. When inserting a video, we set the outputclass to iframe, the height to 468, and the width to 640.
Is there a way, in Author mode, to add the allowfullclass parameter?

Janice

Re: Allowfullscreen parameter for videos

Posted: Wed Jul 07, 2021 6:34 am
by Radu
Hi Janice,

Yes, it's something like:
https://www.oxygenxml.com/doc/versions/ ... ideos.html

Code: Select all

<object outputclass="iframe" data="https://www.youtube.com/embed/m_vv2s5Trn4"/>
  <param name="allowfullscreen" value="true"/>
</object>
Any parameter you specify inside the "object" DITA element is converted to an attribute of the HTML iframe.

Regards,
Radu