+ 2
How do I Add Youtube Videos In Html5?
Copying youtube link doesn't work for me.
4 Antworten
+ 13
This is the correct way to add an ".mp4" video and similar but to embed a youtube video you can simply use an <iframe>
In this case the code will be:
<iframe src="https://www.youtube.com/embed/o8kT5c_4PAc"></iframe>
+ 4
Youtube videos won't work that way. They need to be added in a special way.
Right click on the video, select 'Copy embed code'.
Paste it where you want.
I've modified your code.
https://code.sololearn.com/Wgkq06uLy6q7
+ 4
This link should help you to correctly integrate youtube video:
https://www.w3schools.com/html/html_youtube.asp
0
Thank you Guys!