+ 5
How to embed YouTube videos in a html5 page?
Help me
3 ответов
+ 6
I've pasted the code for it below.
If you go onto the YouTube video you want to embed and press "share" (above the description) 3 tabs will appear and the middle one says "embed" if you click that it will give you the embed code for the video :)
You can place this code directly into your HTML and it should appear on your webpage.
<iframe width="560" height="315" src="https://www.youtube.com/embed/NmCCQxVBfyM?ecver=1" frameborder="0" allowfullscreen></iframe>
+ 5
ok
+ 4
Do this :
<iframe width="420" height="315"
src="https://www.youtube.com/video">
</iframe>