Videos can be included and played in all HTML5-based output formats (such as
WebHelp). For example, to add a YouTube video in the WebHelp output generated
from DITA or DocBook documents, follow the procedures below.
Adding Videos to WebHelp Generated from DITA Maps
- Edit the DITA topic to reference the video using an object element, as
in the following
example:
<object outputclass="video">
<param name="src" value="http://www.youtube.com/watch/v/VideoName"/>
</object>
- Apply a WebHelp or WebHelp with Feedback transformation
scenario to obtain the output.
Adding Videos to WebHelp Generated from DocBook
- Edit the DocBook document and reference the video using an mediaobject
element, as in the following
example:
<mediaobject>
<videoobject>
<videodata fileref="http://www.youtube.com/watch/v/VideoName"/>
</videoobject>
</mediaobject>
- Apply a WebHelp or WebHelp with Feedback transformation
scenario to obtain the output.