Saturday 9 April 2011

How to hide related videos when embedding YouTube videos

Don't like the way the embedded YouTube-player shows other videos when done playing?

It's real easy to set it not to. In the link just add &rel= 0 directly after the url. Like this: 


For the embedded player I had to edit it in the HTML code for the component but that was just as easy. Just right click and pick the option for the component code (my viewer is Swedish that's why I can't quote the exact menu line, but it's probably even more intuitive in the English menu).


There are more parameters for embedding YouTube videos on the page that had that tip.

No comments: