Solved

youtube video suggestions remove option

Posted on 2014-10-09
5
438 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Certified OpenStack Administrator Course

We just refreshed our COA course based on the Newton exam.  With 14 labs, this course goes over the different OpenStack services that are part of the certification: Dashboard, Identity Service, Image Service, Networking, Compute, Object Storage, Block Storage, and Orchestration.

Question has a verified solution.

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

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.

634 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