← Superkube / Documentation 2.1.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-responsive">
        <iframe ...>
        <figcaption></figcaption>
    </div>
</figure>