There is nothing more annoying, when trying to promote your product or service, than inadvertently advertising a competitor or having the shine taken off your presentation by having a bunch of completely unrelated “suggestions” being flung at your viewer to distract them and send them off on a tangent, and away from your site, when using YouTube’s video embedding service.
We’ve used YouTube to host videos; it’s fast, uses their bandwidth, creates another advertising source via the YouTube website and is supported in the majority of browsers. The biggest problem is that they insist on showing related videos at the end of the video clip you’re showing.
Fortunately, as of the time of writing this, there is a way to stop this behaviour. It’s really very simple and we’re going tell you how.
When you embed a video on your website YouTube will give you some code, for example:
<iframe width="560" height="315" src="//www.youtube.com/embed/oTr-G6F1XTc" frameborder="0" allowfullscreen>
This is what you include in your website where you want the video to appear. The solution to stop the related videos from appearing at the end of your video is simple, just append ?rel=0 at the end of the video URL like so:
<iframe width="560" height="315" src="//www.youtube.com/embed/oTr-G6F1XTc?rel=0" frameborder="0" allowfullscreen>
And there we have it, no more related videos at the end of yours.