How to insert video into KB article

To be able to load videos from other websites in an iframe, it is required to disable the "Enable CSP headers for KB" option in Configuration > Security > Settings.

Embeded video from YouTube

  1. Under the chosen YouTube video, click Share icon SHARE button.
  2. Click Embed.
  3. From the box that appears, copy the HTML code.


  4. Paste the code into your article which you can find through the Customer portal section. You need to edit the article in HTML by clicking the "Source" button in the editor panel before you can insert the code.

Result:

Source code of the video above:

<iframe width="560" height="315" src="https://www.youtube.com/embed/aqz-KE-bpKQ" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>

If you wish to get embed code of video from Vimeo, follow this guide.

Embed a self-hosted HTML5 video

The HTML5 <video> element specifies a standard way to embed a video in a web page. The video you want to embed to your article has to be reachable via URL address.

Example:

Source code of the video above:

<video controls="" width="100%"><source src="https://www.w3schools.com/html/mov_bbb.mp4" type="video/mp4" /></video>
×