youtube embed video
snippet in html

iframe autoplay

user6709

<!-- 
first add ?autoplay=1 to your video url
then add allow='autoplay' attribute to your iframe element
-->
<iframe src="https://www.youtube.com/embed/dQw4w9WgXcQ?autoplay=1" allow='autoplay'></iframe>

put youtube videos in html

user5303


<iframe width="420" height="315"
src="https://www.youtube.com/embed/tgbNymZ7vqY">

</iframe>
 

how to embed youtube video in html

user8540


<iframe width="420" height="315"
src="https://www.youtube.com/embed/tgbNymZ7vqY">

</iframe>

youtube embed video

user4286

//Author:Mohammad Arman Khan
<div>
       <iframe class="videoframe" src="https://www.youtube.com/watch?v=VfGW0Qiy2I0">
       </iframe>
</div>