Ɛmbad dɛn
Krio rispɔnsiv vidio ɔ slayd sho ɛmbad bay di wit we di mama ɔ papa gɛt bay we yu mek wan intrinsik rɛtɛshɔn we de skel pan ɛni divays.
Dɛn kin yuz lɔ dɛn dairekt wan fɔ <iframe>
, <embed>
, <video>
, ɛn <object>
ɛlimɛnt dɛn; opshɔnal yuz wan ɛksplisit dessɛndant klas .embed-responsive-item
we yu want fɔ mach di stayl fɔ ɔda atribyut dɛn.
Pro-Tip fɔ di wan dɛn! Yu nɔ nid fɔ inklud frameborder="0"
insay yu <iframe>
s as wi de ɔvalayz dat fɔ yu.
Rap ɛni ɛmbad lɛk wan <iframe>
insay wan mama ɛn papa ɛlimɛnt wit .embed-responsive
ɛn wan aspek rɛsɛshɔn. Di .embed-responsive-item
nɔto strikt wan, bɔt wi de ɛnkɔrej am.
<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>
Aspek ratios kin kɔstɔmayz wit modifya klas dɛn.