• alkpurusha

    (@alkpurusha)


    It seems the option to disable related videos for embedded YouTube videos in WordPress sites has been removed by Google last month. This means all embedded YouTube videos on my web site when they end will offer viewing options for other unrelated or competing videos at the end of my selected video. Does WordPress have a fix for this so related videos don’t show up?

    The page I need help with: [log in to see the link]

Viewing 13 replies - 1 through 13 (of 13 total)
  • Thread Starter alkpurusha

    (@alkpurusha)

    Thanks, but this how-to is out of date, Google has since disabled this option.

    It should still work.
    I just tried it with the following embed.

    <iframe width="560" height="315" src="https://www.youtube.com/embed/7uJLXIdvs40" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

    I added &rel=0 to the end of the src= and it worked.
    <iframe width="560" height="315" src="https://www.youtube.com/embed/7uJLXIdvs40&rel=0" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

    With further testing, I’ve found that it works inconsistently.
    I also did some further research for you. Apparently, unless it is a video you uploaded to youtube AND you have a youtube pro account there is no way to turn off the related videos when you embed it.

    Hope this helps.

    MarkRH

    (@markrh)

    Yeah, the rel=0 parameter now only loads related videos from the same channel the video came from: https://developers.google.com/youtube/player_parameters#rel

    Thread Starter alkpurusha

    (@alkpurusha)

    Thanks for your feedback. I’m kind of hoping the WordPress community comes up with a workaround for this. I looked around online and there are quite a few people upset with Google due to this.

    Hi. I’m an author of a YouTube plugin. I don’t think there’s much any of us, particularly in the WordPress community, can do. Some will use their own player but they’re still dependant on the video feed coming from YouTube – if that want to add related videos to it, there’s not really anything you can do.

    The alternative would be to, say, download any videos (copyright allowing) and then host yourself.

    Thread Starter alkpurusha

    (@alkpurusha)

    OK. Does anyone know why Google did this; there were some comments it was to make more money through more exposure. If so, it seems a bit trite considering how much money pours into their coffers each day. I guess it means in due course people will get fed up and shift to other platforms.

    I think this conversation is going off-course – this is a forum for discussion about WordPress. What Google’a motives were here, isn’t relevant.

    Here’s how it now works…

    • If the rel parameter is set to 1, it will show related videos. This is how it worked before.
    • If the rel parameter is set to 0, related videos will come from the same channel as the video that was just played. Before, this would turn off related videos in their entirety.

    This all came into place after September 25th.

    The only information Google has given is..

    Related videos are an important part of YouTube’s core user experience, and these changes help to make the YouTube viewing experience consistent across different platforms.

    Make of it what you will ˉ\_(ツ)_/ˉ

    Thread Starter alkpurusha

    (@alkpurusha)

    Yes, this is good confirmation of what I read somewhere else. Thanks. I’d prefer to turn them off altogether though! It seems to be a common sentiment.

    A plugin would have to use the API rather than the standard player (as demonstrated in that post). However, I would be concerned that this could be again YouTube’s terms of usage.

    • This reply was modified 5 years, 9 months ago by David Artiss.
Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Stopping YouTube embed related videos’ is closed to new replies.