Allowfullscreen parameter for videos

Post here questions and problems related to editing and publishing DITA content.
jcadel
Posts: 21
Joined: Thu Oct 17, 2019 4:54 pm

Allowfullscreen parameter for videos

Post 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
Radu
Posts: 9418
Joined: Fri Jul 09, 2004 5:18 pm

Re: Allowfullscreen parameter for videos

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