in English

Whakamau

Waihangahia he whakaataata whakaata, whakaataata whakaata ranei i runga i te whanui o te matua ma te hanga i te ōwehenga o roto e tauine ana i runga i tetahi taputapu.

Ka whakamahia tika nga ture ki te <iframe>, <embed>, <video>, me <object>nga huānga; ka taea te whakamahi i te karaehe uri marama .embed-responsive-itemina hiahia ana koe ki te whakaorite i te hanga mo etahi atu huanga.

Aki-Aki! Kaore koe e hiahia ki te whakauru frameborder="0"i roto i to <iframe>s i te mea ka whakakorea e matou tera mo koe.

Tauira

Tākaihia te tāmau pēnei <iframe>i te huānga matua .embed-responsiveme te ōwehenga. Kaore .embed-responsive-itemi te tino hiahiatia, engari ka akiakihia e matou.

<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>

Ahuatanga ōwehenga

Ka taea te whakarite owehenga ahuatanga me nga karaehe whakarereke. Ma te taunoa ka whakaratohia nga akomanga owehenga e whai ake 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 roto i _variables.scsste , ka taea e koe te huri i nga ahuatanga ōwehenga e hiahia ana koe ki te whakamahi. Anei tetahi tauira o te $embed-responsive-aspect-ratiosrarangi:

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