Allowfullscreen parameter for videos

jcadel
Posts: 19
Joined: Thu Oct 17, 2019 4:54 pm

Allowfullscreen parameter for videos

Post by jcadel » Tue Jul 06, 2021 10:37 pm

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

Radu
Posts: 7594
Joined: Fri Jul 09, 2004 5:18 pm

Re: Allowfullscreen parameter for videos

Post by Radu » Wed Jul 07, 2021 6:34 am

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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Post Reply