Using an inline iframe to embed a video
This example uses the code provided by YouTube for embedding a video.
HTML
<iframe width="640" height="480" src="https://www.youtube.com/embed/yPowHRjSFCA?rel=0" frameborder="0" allowfullscreen></iframe>
Read about using custom JavaScript to embed a YouTube video.
Or go back to the performance comparision of these two methods.