If I copy the embed code from the YouTube video, I will get the code below.
<iframe width="560" height="315" src="//www.youtube.com/embed/kk5xfK0ovrk" frameborder="0" allowfullscreen></iframe>
And if I choose the size of 1280x760 for the video and copy the embed code, I get:
<iframe width="1280" height="720" src="//www.youtube-nocookie.com/embed/kk5xfK0ovrk?rel=0" frameborder="0" allowfullscreen></iframe>
But if I just take the source code for embedding and change only the width to 1280 and the height to 720, I also get a very good video of 1280x760. So I'm wondering what the purpose is for “-nocookie” and “rel = 0” in the YouTube code generated for the 1280x560 case.
thanks
Steve source share