Add an external video - Fluid Topics - Latest

DITA Connector Reference Guide

Category
Reference Guides
Audience
public
Version
Latest

Adding external videos (such as videos from YouTube) makes the documentation significantly lighter and streamlines the uploading process.

Add the following <object> element in a topic a video player:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
<topic id="a_topic_with_a_video">
    <title>A Topic with a Video</title>
    <body>
        <example>
          <object outputclass="iframe" data="https://www.youtube.com/embed/qepRkQxhTXQ">
            <param name="allowFullScreen" value="true"/>
            <param name="allowscriptaccess" value="always"/>
        </object>
        </example>
    </body>
</topic>
  • Note that using third party services can lead to privacy issues.
  • When adding a YouTube video, use the embed URL of the video (see Embed videos & playlists).

For security reasons, it is mandatory to use https URLs to display videos.