Solved

youtube video suggestions remove option

Posted on 2014-10-09
5
426 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

Forrester Webinar: xMatters Delivers 261% ROI

Guest speaker Dean Davison, Forrester Principal Consultant, explains how a Fortune 500 communication company using xMatters found these results: Achieved a 261% ROI, Experienced $753,280 in net present value benefits over 3 years and Reduced MTTR by 91% for tier 1 incidents.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Embedd an image or live dashboard into Slack 1 55
PDF Turn Look 7 38
web browsers 9 44
Replace statements HTML with HTML IF 8 70
Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
This article was originally published on Monitis Blog, you can check it here . Today it’s fairly well known that high-performing websites and applications bring in more visitors, higher SEO, and ultimately more sales. By the same token, downtime…
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…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

710 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