Nneɛma a wɔde hyɛ mu
Yɛ video anaa slideshow embeds a ɛyɛ mmuae a egyina ɔwofo no trɛw so denam intrinsic ratio a wobɛma ayɛ scales wɔ device biara so no so.
Wɔde mmara di dwuma tẽẽ wɔ <iframe>
, <embed>
, <video>
, ne <object>
nneɛma ahorow ho; sɛ wopɛ sɛ wode aseni adesuakuw a ɛda adi pefee di dwuma .embed-responsive-item
bere a wopɛ sɛ wo ne styling no hyia ma su afoforo no.
Pro-Afotusɛm! Ɛho nhia sɛ wode ka frameborder="0"
wo <iframe>
s ho bere a yɛrebu saa asɛm no so ama wo no.
Wrap biara embed te sɛ an <iframe>
wɔ ɔwofo element ne .embed-responsive
ne afã ratio. The .embed-responsive-item
isn’t strictly required, nanso yɛhyɛ ho nkuran.
<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>
Wobetumi de modifier adesua ahorow ayɛ afã nsusuwii ahorow no sɛnea wɔpɛ.