Find and select the wanted video from YouTube.
Find and click the share button on the video.
Under the "Share a Link" heading, click on "Embed".
Copy the iFrame code.
Paste the code in your code file.
Done!