YouTube video example

Caption

Embedded, responsive.

Markup:

<div class="iframe-wrapper">
<iframe width="740" height="auto" src="https://www.youtube.com/embed/Jl6v_wcSFZ0" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>

<p class="iframecaption">Caption</p>

(1) Copy and paste the 'embed' markup from the YouTube page for the video.

(2) Edit width and height as shown.

(3) Enclose the 'embed' markup in a <div> with the class "iframe-wrapper".

(4) Caption optional.

(5) Add to a page and either 'Create new page' or 'Update page'.

Info

Page last modified: 21 February, 2026