Source

Wotsɔa nu dea eme

Wɔ video alo slideshow embeds siwo ɖoa nya ŋu le dzila ƒe kekeme nu to intrinsic ratio si adzidze le mɔ̃ ɖesiaɖe dzi la wɔwɔ me.

Ku ɖe

Wozãa sewo ɖe <iframe>, <embed>, <video>, kple <object>nu veviwo ŋu tẽ; ne èdi la, zã dzidzimevi ƒe hatsotso si me kɔ .embed-responsive-itemne èdi be yeawɔ ɖeka kple atsyã na nɔnɔme bubuwo.

Pro-Aɖaŋuɖoɖo! Mehiã be nàde frameborder="0"<iframe>s me esi míeɖea ema ɖa na wò o.

Kpɔɖeŋu

Bla embed ɖesiaɖe abe an <iframe>le dzila element kple .embed-responsivekple aspect ratio. The .embed-responsive-itemisn't strictly required, gake míedea dzi ƒo nɛ.

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

Akpa ƒe akpawo ƒe sɔsɔme

Woate ŋu atrɔ asi le aspect ratios ŋu kple modifier classes.

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