When embedding YouTube videos with the Squarespace Video Block, YouTube will display "Related Videos" at the end. How can I disable that?
Answer by jasonbarone · Dec 28, 2012 at 02:31 AM
To disable YouTube's "Related Videos" from showing up when using a YouTube URL, add ?rel=0 at the end of your URL.
Before pasting into Squarespace, add ?rel=0 to the URL:
Note: You can paste the original URL into the Squarespace Video Block FIRST, and then add your ?rel=0 at the end, but make sure that Squarespace "refreshes" the video in your post. If it doesn't refresh, Squarespace will not pick up your change (adding the ?rel=0). A quick trick I do is paste in your normal URL, then type ?rel=0 at the end of the URL, then "Select All", "Cut" and "Paste" into the box. This removes the URL from the Squarespace Video Block, which removes the video in your post, then adds in the correct video with the disabled Related Videos code.
Answer by jasonbarone · Dec 27, 2012 at 07:21 PM
When embedding video with the Squarespace Video Block, you'll notice that grabbing any Youtube Video's URL, including the official Youtube "Share" Link, will normally cause Youtube to display "Related Videos" at the end.
This is because Youtube doesn't offer a quick way to disable that when using the Share URL like they do when you use the Embed Code.
So after you grab your Youtube Share URL and paste it into your Squarespace Video Block, add this directly to the end:
Normal Youtube Share Link Example:
What it should look like in Squarespace (add the ?rel=0 yourself).
Answer by Nomsy · Feb 29, 2016 at 11:55 PM
I noticed that when you add this code in, it disables the playback controls for Youtube....or at least that's what I'm seeing. When I follow the steps to add in the code, I then add in the embedded code to see the player controls, but then the suggest videos shows up again.
Any work around for this?
Answer by PeterB2631 · Mar 10, 2016 at 03:21 PM
So far (and I have just started with this), I have found that ?rel=0 works when you insert a video in any page - with the exception of the video gallery facility (which is rather a shame).
When I Google this I notice that people using other web template solutions (Wordpress etc) sometimes have a similar problem. Some have suggested that something in the gallery code overrides the modified URL. I don't code so I don't know but in at least one of the Google links I read, users indicated that when you insert a URL and add ?rel=0, the gallery verifies and modifies the url to correct it and thereby enable the adverts. I don't code - but I guess you can look at the underlying code and see if it matches exactly the URL you have entered in the gallery - or if it has been modified.
In fairness, YouTube is free for us to use and the revenue to operate comes from advertising. Perhaps there be a 'code of practice' operated by template providers that they will enable advertising in a gallery. I don;t know, but whatever the reason, ?rel=0 seems to work fine on any page in my site - with the exception of the video gallery. So the answer maybe to create a video page without using the gallery function.
[I am not an expert and I don't do coding. I am just sharing my experience so far]
Answer by wbknox · Oct 26, 2016 at 10:59 PM
The post linked below has a video that clearly demonstrates how to remove recommended videos after a embedded Youtube video finishes in Squarespace.
The key part I had been missing is that you have to insert the iframe code by clicking where the pointer is hovering in this screenshot from the post's explanatory video. (Sorry: grainy video --> grainy screenshot.)
Answer by eladlavi · Mar 11 at 12:51 PM
Hides related videos too-Awesome Pin tab the add on settings page in your browser to change them faster when you want to
Update an embedded YouTube playlist? 2 Answers