Source

Embeds

Theha livideo tse arabelang kapa li-slideshow ho latela bophara ba motsoali ka ho theha karo-karolelano e lekanyang sesebelisoa leha e le sefe.

About

Melao e sebelisoa ka ho toba ho <iframe>, <embed>, <video>, le <object>likarolo; ka boikhethelo sebelisa sehlopha sa litloholo tse hlakileng .embed-responsive-itemha u batla ho bapisa setaele bakeng sa litšobotsi tse ling.

Pro-Tip! Ha ho hlokahale hore u kenyelle frameborder="0"ho s ea hau <iframe>ha re ntse re u hanela.

Mohlala

Koahela ntho e 'ngoe le e 'ngoe joalo <iframe>ka ntho ea motsoali le .embed-responsivekarolo ea karohano. Ha .embed-responsive-itemho hlokahale ka thata, empa rea ​​e khothaletsa.

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

Aspect ratios

Aspect ratios e ka hlophisoa ka litlelase tsa modifier.

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