How to publish a youtube hosted video - Fluid Topics

Operating System
Debian
RHEL
Category
How To
Audience
public

Business need

Videos are an integral part of knowledge sharing. Dedicated platforms like YouTube and Vimeo provide convenient video hosting. When Fluid Topics delivers videos hosted on these external sites, performance and delivery speed are at their best.

Overview of the solution

The solution consists in uploading video files as articles through the default FTML connector. It is possible to adapt the ftmap and HTML sample files to individual use cases.

Procedure

The following steps are based on the Upload FTML Content to Fluid Topics documentation.

Step 1: Create an .ftmap file based on the following example, and modify the title, metadata, and filenames as needed:

<?xml version='1.0' encoding='UTF-8'?>
<ft:map ft:editorialType="article" ft:lang="en-US" ft:originID="PreDOCXS-90" ft:title="How to publish a simple youtube video in Fluid Topics" xmlns:ft="http://ref.fluidtopics.com/v3/ft#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ftmap.xsd">
  <ft:metas>
     <ft:meta key="ft:product" type="string">Fluid Topics</ft:meta>
     <ft:meta key="Version_FT">Latest</ft:meta>
     <ft:meta key="Category">How-to</ft:meta>
      <ft:meta key="Product">Fluid Topics</ft:meta>
     <ft:meta key="audience">public</ft:meta>
  </ft:metas>
  <ft:toc>
    <ft:node ft:title="Example and publication procedure" href="test_youtube_video.html"/>   
  </ft:toc>
  <ft:attachments>
    <ft:attachment>
      <ft:filePath>testFiles.zip</ft:filePath>
    </ft:attachment>
  </ft:attachments>
</ft:map>

Step 2: Create an HTML file and place the YouTube embedded code between iframe tags as in the following example:

<html xmlns="http://www.w3.org/TR/REC-html40">
  <head>
    <meta name=Titre content="test video">
    <meta name="Mots cl├ęs" content="Antidot Fluid Topics CSM how to">
    <meta http-equiv=Content-Type content="text/html; charset=utf-8">
  </head>
  <body bgcolor=white lang=FR style='tab-interval:35.4pt'>
    <div class=section1>
      <p class=normal>
        <span lang=EN-US></span>Here is a simple Youtube video published to Fluid Topics using the FTML source. The publication is an article. 
        <iframe width="560" height="315" src="https://www.youtube.com/embed/MLjPPVG4aiY" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen>
        </iframe>
      </p>
    </div>
  </body>
</html>
The filename must match the one referenced in Step 1, i.e., test_youtube_video.html.

Step 3: Compress both files to create a .zip archive.

Step 4: Publish the .zip archive to Fluid Topics using the default FTML connector.

Example

This video has been embedded using the procedure described previously: