Source

A bɛ don a kɔnɔ

Aw ye wideyo walima slide jiracogo jaabilenw dilan ka da bangebaga bonya kan, aw kɛtɔ ka ratio intrinsic dɔ dilan min bɛ sɛgɛsɛgɛli kɛ minɛn o minɛn kan.

Kan

Sariyaw bɛ tali kɛ <iframe>, <embed>, <video>, ani <object>fɛnw kan k’a ɲɛsin u yɛrɛ ma; i b’a fɛ ka baara kɛ ni bɔnsɔn kalasi jɛlen ye .embed-responsive-itemn’i b’a fɛ ka bɛn ni cogoya ye fɛn wɛrɛw kama.

Pro-Tip ye! I man kan ka frameborder="0"don i ka <iframe>s kɔnɔ iko an bɛ o override i ye.

Misaliya

Aw bɛ embed o embed siri i n’a fɔ an <iframe>in a parent element ni .embed-responsiveani aspect ratio. The .embed-responsive-itemisn't strictly required, nka an bɛ dusu don a kɔ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>

Fɛnɲɛnɛmafagalanw (Aspect ratios).

Aspect ratios bɛ se ka ladilan ni modifier classes ye.

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