How do I make a caption on a YouTube video on a code I made? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
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

18th Mar 2019, 7:02 PM
Matthew
Matthew - avatar
2 Answers
+ 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>
18th Mar 2019, 7:14 PM
Sudarshan Rai
Sudarshan Rai - avatar
0
Ok, thank you.😊👍
18th Mar 2019, 7:17 PM
Matthew
Matthew - avatar