Embed Internal Videos in Knowledge Base Articles


  • The video button the editor for Knowledge Base Articles does not allow for connecting to videos that are uploaded to Documents and Media



  • Liferay DXP 7.3
  • Liferay DXP 7.4



Liferay DXP 7.4

  • To embed videos in Knowledge Base articles, ffmpeg transformation will need to be enabled. This will generate the preview of the video and then allow them to be added to the page.
  • The reason for this is, in Liferay DXP 7.4, the URL tab to link videos is intended to be used for external videos only. This is because Liferay relies on the players of the external site to stream the video, as Liferay is not designed to work as a streaming platform. That's why the ffmpeg option must be enabled to embed internal Liferay videos uploaded to the Documetns and Media portlet.
  • Videos uploaded to the Documents and Media will not be served streamed, but will instead be sent to the browser of the user to be played while embedded. This may cause some issues on the server if the number of users playing the video is high, or the video is exceptionally large.
  • Also, using the URL to the video stored in the Documents and Media to embed the video via the video button is still not supported, but instead, the tab next to the URL tab, titled "Documents and Media" can be selected and the video uploaded from there.
  • Instructions for enabling FFmpeg for Audio and Video Previews can be found here.

Liferay DXP 7.3

  • For embedding videos stored in the Documents and Media to a Knowledge Base Article, you can use the video HTML tags, such as:
<video controls width="640" height="360">
<source src="[insert uploaded video URL here]"


Additional Information


¿Fue útil este artículo?
Usuarios a los que les pareció útil: 0 de 0