Hide YouTube Related Videos


WordPress’ built-in oEmbed feature is fantastic. I’ve heard several complaints, though, about the related videos that show up after the video is done playing so I put together this very simple plugin that keeps the YouTube oEmbed code from showing related videos.

This plugin also adds wmode=transparent so that the flash object doesn’t overlap a modal window.

On activation, the plugin clears the oEmbed cache so that the videos can be successfully re-cached with the new setting. If you are upgrading the plugin, you may need to manually deactivate, then reactivate it to clear the cache.


Does what it says it will do and for FREE!


I had been trying to use &rel=0 and ?rel=0, both in a widget and just in plain code and NEITHER worked. I even checked the source code, somehow the ?rel=0 or &rel=0, were taken out. Kept searching the web and ONLY got that answer, till I stumbled upon this plugin, recommended on the wpbeginner website. Installed and zap...it worked, no mess, no fuss, and NO MORE related videos! (I checked the source code of my website and what this plugin does is SOMEHOW add back in the &rel=0) Thank you so much for this GREAT plugin!

Read all 55 reviews


1.4.2 (Jan 15, 2015)

  • Allow &autoplay=1 on the original url to be passed through to the oembed

1.4.1 (Sep 28, 2015)

  • Ease matching restrictions to allow more querystring elements to be passed through on original url

1.4 (Sep 24, 2015)

  • Added support for playlists, added clear cache button to plugin page

1.3 (Feb 10, 2014)

  • Disabled Jetpack YouTube shortcode embed as it kills this feature

1.2 (Feb 21, 2013)

  • Added wmode=transparent to the url structure

1.1 (Feb 11, 2013)

  • Updated to match YouTube’s new URL structure

1.0 (Dec 23, 2011)

  • Initial Release

Contributors & Developers

This is open source software. The following people have contributed to this plugin.


Browse the code