youtube iframe api parameter rel=0 doesn't work

Viktor picture Viktor · Jan 22, 2018 · Viewed 29.6k times · Source

I need to hide related videos after watching the video. I set rel=0, but it is not working. I am using this page for testing. The rel checkbox value doesn't affect on shown related videos after watching video.

It doesn't work in google chrome. In mozilla firefox it properly works.

Answer

Irina picture Irina · Oct 21, 2018

As of September 25, 2018, you are not be able to disable related videos. Instead, if the rel parameter is set to 0, related videos will come from the same channel as the video that was just played. YouTube API