Remove Related Videos from YouTube Embed

Hide the “more videos” section on an embedded YouTube video with this quick tip.

Something I find obnoxious is when I embed a video in an article that is meant to be helpful and it recommends related videos when paused or ended. This is often distracting to the purpose of embedding some specific video. And it puts a lot of blind trust in YouTube to find videos that would supplement the one I’m sharing.

Fortunately, there’s a way around this. You can append ?rel=0 to the embed URL and the related videos will not appear.

For example:

title="YouTube video player"

Here’s the difference:

Embedded YouTube Related Videos Comparison


You can see this in action here. Play and pause both videos. You’ll see related videos in the top one, but not the bottom one.

Let's Connect

Keep Reading

Use a Code Spell Checker

Spell-checking isn't just for documentation.

Mar 01, 2021

Pro Tip: Use “1.” for Every Ordered List Item when Writing Markdown

A quick tip for making ordered lists in markdown easier to write.

May 31, 2022

3 Ways to Add an Image to GitHub README

Images often come in handy alongside documentation. Here are a few methods for adding them to your README and other markdown files.

Jan 30, 2021