Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

How can I stop the YouTube player from showing related video thumbnails and links? I am in search of YouTube video code that shows only the videos in our YouTube stream, i.e., only the videos we have uploaded.

share|improve this question

3 Answers 3

As for the first part of your question, that can be accomplished by adding the URL parameter rel=0 to the YouTube URL embedded in your player HTML code. Like so:

<embed width="560" height="349" type="application/x-shockwave-flash" 
src="http://www.youtube.com/v/VvosvdWfmas?version=3&amp;hl=en_US&amp;rel=0"
allowFullScreen="true" allowscriptaccess="always" allowfullscreen="true" />
share|improve this answer
    
Will check it out and let you know what i think about your answer. Is this solution already tried out by you? –  Business Inelligence Jul 22 '11 at 11:45
1  
Yes. I embedded a video with &rel=0 at the end of the URL string and when the video finished it did not offer to display other videos. –  Al E. Jul 22 '11 at 13:12

You need to add &rel=0 in the end of the link.

See this link.

share|improve this answer
  1. If your URL contains any parameters then add &rel=0 at the end of it

    i.e., http://www.youtube.com/watch?v=joYtqNtZe6w&feature=plcp then add &rel=0

    so for example check at last

    http://www.youtube.com/watch?v=joYtdfdsNtZe6w&feature=plcp&rel=0

  2. If your URL does not have any parameters then add ?rel=0 at the end of it

    i.e., http://www.youtube.com/embed/joYtqNtZe6w then add ?rel=0

    so

    http://www.youtube.com/embed/joYtqNtZe6w?rel=0

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.