youtube autoplay video code example
Example 1: autoplay youtube video
// Add this to your URL
?autoplay=1&mute=1
// example
https://www.youtube.com/embed/9QTojZVR_Ec?autoplay=1&mute=1
Example 2: youtube embed video
//Author:Mohammad Arman Khan
<div>
<iframe class="videoframe" src="https://www.youtube.com/watch?v=VfGW0Qiy2I0">
</iframe>
</div>