0
How do I make a caption on a YouTube video on a code I made?
So I am making a code that shows both of the avengers endgame trailer in one code. Since the 2nd trailer just came out on Friday, some people might not be able to tell them apart. This is what I have so far: <iframe width="320" height="240" src="https://www.youtube.com/embed/wVhl9QGP0Zo"></iframe> <iframe width="320" height="240" src="https://www.youtube.com/embed/JyGGLB542ks"></iframe> I just cant figure out how to have the output have show the trailers, then right next to them, write out which trailer is which. https://code.sololearn.com/WW3vqMoUt7Cn/?ref=app
2 odpowiedzi
+ 2
//You can use this simple method <p> with align center to add caption
<p align="center">Caption one</p>
<iframe width="320" height="240" src="https://www.youtube.com/embed/wVhl9QGP0Zo"></iframe>
<p align="center">Caption two</p>
<iframe width="320" height="240" src="https://www.youtube.com/embed/JyGGLB542ks"></iframe>
0
Ok, thank you.😊👍