YouTube Hide Related Videos [BETA]

Hide YouTube's annoying related video content

When an embedded YouTube video is paused or finished playing, a series of "related videos." are shown. These often detract from your Webflow site's elegant design, and by default they can show unrelated or even a competitor's videos.

It's not ideal...

This SA5 attribute blocks the play and stop views with an overlay that can make this UX more elegant. At this point it is very simple.

Video paused overlay
Video finished overlay

Demo

Usage Notes

Currently this feature works with Webflow's YouTube video element specifically. Make sure you are using the right one.

Simply add a custom attribute of wfu-youtube-norel to any YouTube video on your page.

Getting Started ( NOCODE )

STEP 1 - Add the Library

First, add the library as detailed in Quick Start.

STEP 2 - Apply wfu-youtube-norel to any YouTube Player Elements you want it to affect

See above for details.

Credits

This attribute is based on the work of Maximillian Laumeister who first published this technique in May 2018.

Last updated

Was this helpful?