When you go to Youtube, access the area where it mentions about sharing the video.

Once you're there, hit the share button. It should take you to a menu like below; if allowed by the video.

Hit the embed option, where it will show you a bunch of code to copy with one click.

Once you copied it, take this to your coding program and paste it in.

And that's it! Here's the video I used!