Adding Videos in the Output

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

  1. 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>
  2. Apply a WebHelp or WebHelp with Feedback transformation scenario to obtain the output.

Adding Videos to WebHelp Generated from DocBook

  1. 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>
  2. Apply a WebHelp or WebHelp with Feedback transformation scenario to obtain the output.