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

Post here questions and problems related to editing and publishing DITA content.
candymmorton
Posts: 8
Joined: Mon Apr 19, 2021 9:16 pm

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

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

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

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