Embeds
Reeshiyoo keessaa kan meeshaa kamiyyuu irratti iskeelii taasisu uumuudhaan bal'ina warraa irratti hundaa'uun viidiyoo deebii kennuu danda'u ykn agarsiisa islaayidii uumi.
Waa'ee
Seerotni kallattiin <iframe>
, <embed>
, <video>
, fi <object>
elementoota irratti hojii irra oolu; .embed-responsive-item
filannoodhaan yeroo amaloota biroof akkaataa walsimsiisuu barbaaddu gita sanyii ifa ta'e fayyadami .
Gorsa Deggeraa! Sana siif waan irra darbinu s frameborder="0"
kee keessatti hammachuun si hin barbaachisu .<iframe>
Fakkeenya
Embed kamiyyuu akka <iframe>
elementii warraa keessatti .embed-responsive
fi reeshiyoo aspeektii waliin marsi. The .embed-responsive-item
cimsee hin barbaachisu, garuu ni jajjabeessina.
<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>
Reeshiyoowwan aspeektii
Reeshiyoowwan aspeektii gita fooyyessaa wajjin dhuunfachuun ni danda'ama. Akka durtiitti gita reeshiyoo armaan gadii ni kennama:
<!-- 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>
Keessatti _variables.scss
, reeshiyoowwan aspeektii fayyadamuu barbaaddu jijjiiruu dandeessa. Fakkeenyi tarree kanaa kunooti $embed-responsive-aspect-ratios
:
$embed-responsive-aspect-ratios: (
(21 9),
(16 9),
(4 3),
(1 1)
) !default;