Embed your youtube iframe without related videos

The video below is embedded using default iframe code. This allows related videos to show up at the end. With a click, your visitor can browse these in YouTube.



If you don’t want to let visitors leave your site for YouTube, you can remove the related video links. The embed code is changed below so related videos don’t appear:





To do this yourself, add a string to your embed code, tacked onto the end of the string that begins with http://:
&rel=0

Here is a snapshot of the code. The top line shows original code. The bottom line shows how &rel=0 is added to remove links to related videos:
youtube embed code without related videos

Comments

comments

Powered by Facebook Comments