Disable Youtube Related Videos on Web Page

There are some cases when you need to avoid displaying related videos to the youtube object shown on the page. The solution is very simple as that you just need to add a short parameter to your Youtube URL. All you need to add is &rel=0 to the Youtube URL. It will not displaying related videos.

So the initial state in the code is:

embed src=”http://www.youtube.com/v/4HwMzUAbfWg&hl=ru&fs=1″

And after the modification it will be as follows:

embed src=”http://www.youtube.com/v/4HwMzUAbfWg&hl=ru&fs=1&rel=0”

This simple parameter will disable unwanted videos displayed at your pages.