Page 1 of 1

Embedded .mp4 video in object element with outputclass="video"

Posted: Tue Sep 28, 2021 7:25 pm
by candymmorton
We are trying to embed an mp4 video inside of an object element with outputclass set to video. We need this in HTML5 output. After our transforms run the video is not working. Below is the code

<step>
<cmd>Navigate to <menucascade>
<uicontrol>Administration</uicontrol>
<uicontrol>Users</uicontrol>
</menucascade>.</cmd>
<info><object data="Videos/Test_Video_MP4.mp4" outputclass="video" type="video/mp4"/></info>
</step>

I would love some help or advice - thx!

Re: Embedded .mp4 video in object element with outputclass="video"

Posted: Wed Sep 29, 2021 6:50 am
by Radu
Hi,

If you use for publishing Oxygen's bundled DITA Open Toolkit publishing engine, this should work by default:
https://www.oxygenxml.com/doc/versions/ ... media.html

If you use your own publishing set-up you would need to install this extra DITA Open Toolkit plugin in the publishing engine you are using:
https://github.com/oxygenxml/dita-media-support

Regards,
Radu