Omboguapy
Ejapo video térã diapositiva jehechaukaha embeds ombohováiva oñemopyendáva túva ipekue rehe emoheñóivo peteĩ relación intrínseca oescaláva oimeraẽ tembipuru’ípe.
Upéva rehegua
Umi regla ojeporu directamente <iframe>
, <embed>
, <video>
, ha <object>
elemento-kuérape; opcionalmente eipuru peteĩ clase descendiente explícita .embed-responsive-item
embojoajuséramo estilo ambue atributo-pe g̃uarã.
¡Pro-Consejo! Natekotevẽi remoinge frameborder="0"
nde <iframe>
s-pe romboykévo upéva ndéve g̃uarã.
Tembiecharã
Embojere oimeraẽva embed haꞌeháicha peteĩ <iframe>
elemento túvape orekóva .embed-responsive
ha peteĩ relación de aspecto. Pe .embed-responsive-item
ndaha'éi estrictamente ojejeruréva, pero romokyre'ÿ.
<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>
Umi relación de aspecto rehegua
Umi relación aspecto rehegua ikatu oñemboheko umi clase modificador reheve. Por defecto oñemeꞌe koꞌã clase ratio rehegua:
<!-- 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>
, ryepýpe _variables.scss
ikatu remoambue umi relación de aspecto reipuruséva. Ko’ápe oĩ peteĩ techapyrã pe $embed-responsive-aspect-ratios
lista rehegua:
$embed-responsive-aspect-ratios: (
(21 9),
(16 9),
(4 3),
(1 1)
) !default;