Unfortunately there has never been an easy way to prevent related videos using the standard Divi video module. Somehow getting ?rel=0 into the url once worked, but no more.
As of Sep 2018 YouTube (aka Google) deprecated the ?rel=0 parameter, their revenue always being more important than user preferences.
There is a slightly ugly but possibly interesting work-around.
&amp;lt;iframe width=&amp;quot;560&amp;quot; height=&amp;quot;315&amp;quot; src=&amp;quot;https://www.youtube.com/embed/VIDEO_URL?controls=1&amp;amp;rel=0&amp;amp;color=red&amp;amp;autoplay=0&amp;amp;modestbranding=1&amp;quot; frameborder=&amp;quot;0&amp;quot; allow=&amp;quot;accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture&amp;quot; allowfullscreen&amp;gt;&amp;lt;/iframe&amp;gt;
While ?rel=0 still doesn’t prevent related videos, what it now does is only choose videos from the same YouTube channel. If you are able to set a channel per website this almost turns unwanted related videos into a useful ‘watch more’ option – as perhaps it was in ancient times.
If you’re not a regular user of YouTube – or are willing to maintain a channel exclusively for a website (by setting up a google account for it) – then you can just post the one video on that channel and no related videos will be shown.
Get In Touch
I manage social media for several clients and lack the will to also run my own. There are reviews but I rarely ever post anything.