Solved

youtube video suggestions remove option

Posted on 2014-10-09
5
397 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
Comment Utility
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 82

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 167 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Worked!  Thanks all!
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
This video teaches users how to migrate an existing Wordpress website to a new domain.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

744 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now