← Superkube / Documentation 2.6.1
Modules

Embed

This module helps to make embed video responsive and keep its proportions.

Usage #

Add div with the embed-responsive class around the embed iframe and this will make the video responsive and keep its proportions when the screen size is changed.


<figure>
    <div class="embed-content embed-responsive">
        <iframe ...>
    </div>
    <figcaption></figcaption>
</figure>