Solved

youtube video suggestions remove option

Posted on 2014-10-09
5
415 Views
Last Modified: 2014-10-10
Trying to find a way to remove "recommended" videos that auto play after your youtube video?  My client passed away.  The people that are running non-profit organization now want me to remove the option of having youtube's recommended videos play after their video.  They do not have the youtube login credentials.  They do not have original video file.  Is there a way I can modify the code that is embedded in the website?
0
Comment
Question by:nsitedesigns
  • 2
  • 2
5 Comments
 
LVL 10

Accepted Solution

by:
jtwcs earned 333 total points
ID: 40371651
Adding the rel parameter to the video src link will remove the related videos at the end.

If you're using the iframe embed, your markup would look something like this,
<iframe width="853" height="480" src="//www.youtube.com/embed/DcxDpvXPAKU?rel=0" frameborder="0" allowfullscreen></iframe>

Open in new window


Alternatively, you could generate new embed markup by going to the video page on youtube, clicking on the share icon/link, embed tab (show more) and recreate using the parameters of your choosing.
0
 
LVL 83

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 167 total points
ID: 40371677
You don't have to have a login to embed a video in your pages, at least not for most of them.  If the videos are using the 'new' Embed format like this:

<iframe width="560" height="315" src="//www.youtube.com/embed/bDKz6DJQgL0?rel=0" frameborder="0" allowfullscreen></iframe>

Make sure the "?rel=0" is at the end of the URL.  That turns off the 'Related Videos'.
0
 

Author Comment

by:nsitedesigns
ID: 40373011
When I add the rel to the url i get an error message on the video.  See video in right column under facebook icon.
http://projectangelhugs.com/test.html
0
 
LVL 10

Assisted Solution

by:jtwcs
jtwcs earned 333 total points
ID: 40373134
You forgot the question mark before rel=0

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

Open in new window

0
 

Author Closing Comment

by:nsitedesigns
ID: 40373168
Worked!  Thanks all!
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
multiple selects 23 49
Html value of radio 14 31
Media Queries  not Firing 6 19
Show Ruler in Outlook 2010 STILL NOT SHOWING! 4 26
Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
Shows how to create a shortcut to site-search Experts Exchange using Google in the Chrome browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch the Search Engine Menu: In chrome, via you…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question