Legacy Knowledge Base
Published Jun. 30, 2025

Do video fragments support sites other than YouTube?

Written By

Rita Schaff

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • There are 2 out-of-the-box fragments that support loading external videos:
    • External Video
    • Video URL
  • Right now only a couple sites are supported, such as YouTube.
  • When will the other sites, such as dailymotion, be supported?

Environment

  • DXP 7.4

Resolution

  • However, I checked what these fragments do and to me, it seems that they load the original YouTube player in an iframe.
     
    From what I saw on Dailymotion videos' pages, the share button generates this HTML:
    <div style="position:relative;padding-bottom:56.25%;height:0;overflow:hidden;">
    <iframe style="width:100%;height:100%;position:absolute;left:0px;top:0px;overflow:hidden" frameborder="0" type="text/html" src="https://www.dailymotion.com/embed/video/x8m4skj?autoplay=1" width="100%" height="100%" allowfullscreen title="Dailymotion Video Player" allow="autoplay"> 
    </iframe> 
    </div>
    I tested this in a fragment and it worked as expected. So as long as you create or modify the existing fragment to generate this for you, you can use it
  • There is also a feature request open to implement this:
    LPS-154773 Make it easy to publish multimedia and video

Additional Information

 

Did this article resolve your issue ?

Legacy Knowledge Base