Add an external video - Fluid Topics - Latest

DITA Connector Reference Guide

Category
Reference Guides
Audience
public
Version
Latest

Adding external videos 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.

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