Black Friday 2026 50% off every plan Our biggest deal of the year on #1 Joomla products.
Ends in 12d 08h 49m 12s
Claim 50% off
Solved SP Page Builder

streaming from Amazon Cloudfront

Asked by Dan Bryan 1 year ago Last activity 1 year ago

Hi

We have a video on AWS S3, using Cludfront as the CDN. How can I embed this using Page Builder?

Thank you
Dan

Accepted answer

Marked as the solution
Dan Bryan Asked this

In case anyone else is trying to do this, I successfully embedded the video using this raw HTML:

<div class="video-wrapper">
  <video controls>
    <source src="/your-video.mp4" type="video/mp4">
    <source src="/your-video.webm" type="video/webm">
    Your browser does not support the video tag.
  </video>
</div>

With the following added to the raw htnl addon's Custom CSS:

.video-wrapper {
  max-width: 100%; /* Or a specific max-width if you don't want it to exceed a certain size */
  margin: 0 auto; /* Centers the wrapper if it has a max-width */
}

.video-wrapper video {
  width: 100%; /* Makes the video fill the width of its parent */
  height: auto; /* Automatically calculates height to maintain aspect ratio */
  display: block; /* Removes extra space below the video tag */
}

Dan

Source: Gemini

2 more replies

Ofi Khan Staff

Hello Dan Bryan,

Thank you for reaching out to our technical support forum and sharing your solution. It will help the community who are looking for this.

Best regards

Tomcoll

How can I do the same using SP LMS

Ofi Khan Staff

Hello Tomcoll,

Thank you for reaching out to our technical support forum.

Sorry, it is not available on SP LMS. You may try to customize the component to match your needs.

Best regards

Log in to reply.