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-item
ne èdi be yeawɔ ɖeka kple atsyã na nɔnɔme bubuwo.
Pro-Aɖaŋuɖoɖo! Mehiã be nàde frameborder="0"
wò <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-responsive
kple aspect ratio. The .embed-responsive-item
isn't strictly required, gake míedea dzi ƒo nɛ.
Akpa ƒe akpawo ƒe sɔsɔme
Woate ŋu atrɔ asi le aspect ratios ŋu kple modifier classes. Le gɔmedzedzea me la, wotsɔ ratio ƒe hatsotso siwo gbɔna la na:
Le _variables.scss
, me la, àte ŋu atrɔ aspect ratio siwo nèdi be yeazã. Nusiwo woŋlɔ ɖi ƒe kpɔɖeŋu aɖee nye esi $embed-responsive-aspect-ratios
: