# Code ?rel=0 and videos

**URL:** <https://forums.realmacsoftware.com/t/code-rel-0-and-videos/32845>\
**Category:** Lounge\
**Created:** [May 12, 2020, 1:22am UTC](https://forums.realmacsoftware.com/t/code-rel-0-and-videos/32845 "2020-05-12T01:22:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![peppermint](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/peppermint/32/218_2.png) [@peppermint](https://forums.realmacsoftware.com/u/peppermint)\
**Post date:** [May 12, 2020, 1:22am UTC](https://forums.realmacsoftware.com/t/code-rel-0-and-videos/32845/1 "2020-05-12T01:22:54Z")

</div>

Hi  
Is the code ?rel=0 at the end of YouTube videos still working?

TIA

---

<div class="post-metadata">

**Author:** ![peppermint](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/peppermint/32/218_2.png) [@peppermint](https://forums.realmacsoftware.com/u/peppermint)\
**Post date:** [May 30, 2020, 5:45pm UTC](https://forums.realmacsoftware.com/t/code-rel-0-and-videos/32845/2 "2020-05-30T17:45:15Z")

</div>

A couple of weeks ago I asked a question: Hi, Is the code? Rel = 0 at the end of YouTube videos still working?

It is evident that I did not elaborate it properly.

Looking for answer I found this:

YouTube changed their embed code so that this rel = 0 trick no longer fully removes the related videos (instead it makes it so the related videos come from the same YouTube channel as the video displayed). It is no longer possible to fully disable related videos using rel = 0.

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.

> **[How To Hide Related Videos In YouTube Embeds (in 2023) - Maximillian Laumeister](https://www.maxlaumeister.com/articles/hide-related-videos-in-youtube-embeds/)**
>
> In September 2018, YouTube disabled the ability for users to prevent related videos from showing on YouTube embeds. This tutorial will teach you how to bypass that limitation and prevent related videos from showing anyway.
