in English

Fa'amau

Fausia ata vitio tali poʻo faʻataʻitaʻiga faʻapipiʻi faʻavae i luga o le lautele o matua e ala i le fatuina o se fua faʻatatau e fua i luga o soʻo se masini.

E uiga i

O tulafono e fa'atatau tonu ile <iframe>, <embed>, <video>, ma <object>elemene; fa'aaoga fa'apea se vasega fa'alilolilo suli .embed-responsive-itempe a e mana'o e fa'afetaui le sitaili mo isi uiga.

Fesoasoani-Fautuaga! E te le mana'omia le fa'aofiina frameborder="0"i lau <iframe>s a'o matou fa'asili lena mo oe.

Faataitaiga

Afifi so'o se mea fa'apipi'i pei o se <iframe>i totonu o se elemene matua .embed-responsivema se fua fa'atatau. E .embed-responsive-itemle o matua manaomia lava, ae matou te uunaia.

<div class="embed-responsive embed-responsive-16by9">
  <iframe class="embed-responsive-item" src="https://www.youtube.com/embed/zpOULjyy-n8?rel=0" allowfullscreen></iframe>
</div>

Fa'avasegaga

E mafai ona fa'avasegaina fa'atusatusaga fa'atasi ma vasega fa'aleleia. E le mafai ona tu'uina atu vasega fa'atusatusa nei:

<!-- 21:9 aspect ratio -->
<div class="embed-responsive embed-responsive-21by9">
  <iframe class="embed-responsive-item" src="..."></iframe>
</div>

<!-- 16:9 aspect ratio -->
<div class="embed-responsive embed-responsive-16by9">
  <iframe class="embed-responsive-item" src="..."></iframe>
</div>

<!-- 4:3 aspect ratio -->
<div class="embed-responsive embed-responsive-4by3">
  <iframe class="embed-responsive-item" src="..."></iframe>
</div>

<!-- 1:1 aspect ratio -->
<div class="embed-responsive embed-responsive-1by1">
  <iframe class="embed-responsive-item" src="..."></iframe>
</div>

I totonu o _variables.scssle , e mafai ona e suia le faʻatusatusaga o le itu e te manaʻo e faʻaoga. O se fa'ata'ita'iga lea o le $embed-responsive-aspect-ratioslisi:

$embed-responsive-aspect-ratios: (
  (21 9),
  (16 9),
  (4 3),
  (1 1)
) !default;