Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Is there a way of disabling YouTube's "Suggested Videos"? I've looked, and from their "Embed" menu, it shows adding "rel=0" to the end of the URL to accomplish this. However, even doing so, I still get the window full of other videos that YouTube thinks I might like. While using the module, I also get these suggested videos in a line across the bottom of the window, if I happen to pause the video.
How do I prevent these other videos from coming up?
I am using Version: 8.x-1.2
Any help is appreciated.
Comment | File | Size | Author |
---|---|---|---|
#2 | hiding_disabling-2881436-2.patch | 1022 bytes | lvbeck |
Comments
Comment #2
lvbeck CreditAttribution: lvbeck commentedI have the same problem with you, here is my workaround solution:
in
..\modules\contrib\video\src\Plugin\video\Provider\YouTube.php:
you can add the rel parameter in function renderEmbedCode
Comment #3
BEGRAFX CreditAttribution: BEGRAFX commentedAwesome! I'll give that a try. Thank you!
Comment #4
jeetendrakumar CreditAttribution: jeetendrakumar as a volunteer and at HyTechPro.com commented