Starting this week, perhaps as soon as September 25th, Google is rolling out a new update that will effect videos embedded from YouTube.
In a previous blog post, we explained how to disable the “related video” thumbnails from popping up at the end of your embedded YouTube videos. This involved adding a few characters in the embed code (specifically, you had to use a code that included the parameter rel=0, BUT now Google is changing the way that embed code functions, meaning you WILL NOT be able to disable the “related video” thumbnails from appearing at the end of your embedded YouTube videos anymore.
We can offer a solution – keep reading!
In a recent update, Google developers wrote:
“The behavior for the rel parameter is changing on or after September 25, 2018. The effect of the change is that you will not be able to disable related videos. However, you will have the option of specifying that the related videos shown in the player should be from the same channel as the video that was just played.
To be more specific:
- Prior to the change, if the parameter’s value is set to
0, then the player does not show related videos.
- After the change, if the rel parameter is set to
0, the player will show related videos that are from the same channel as the video that was just played.”
According to the update, if your YouTube videos are embedded on your website and are using the rel=0 parameter in the embed code, your viewers will now see thumbnails for other videos from the same channel as the embedded video. If you have multiple videos on your YouTube channel, the thumbnails that appear will at least be your own.
*Note that YouTube no longer gives the option to automatically generate new embed codes with the rel=0 parameter included. If you do not currently have the rel=0 parameter in your embed codes, or if you are uploading a new video that you want to embed on your website, you will need to add the rel=0 parameter manually.
To manually insert the rel=0 parameter, first get your embed code from YouTube and paste it into a plain notepad or word document. Now, you will need to find the video ID within the current embed code. The video ID is the string of numbers and letters that appears after the “www.youtube.com/embed/”. In the example below, the video ID is HdPrn8lVqH4.
Once you’ve found your video ID, put your cursor after the last character of the video ID, but before the closing quotation mark, and type ?rel=0
Your embed code should now look like this: …src=”https://www.youtube-nocookie.com/embed/HdPrn8lVqH4?rel=0“…
Here’s what the embedded video looks like before the change (pause the video or watch till the end to see the pop-ups):