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.
I tried to append the URL with &rel=0 to remove the related videos from playing after, but it did not seem to work.
Comments
Comment #1
guschilds CreditAttribution: guschilds commentedxbrianx,
When a URL is entered into the field, the embed code is grabbed and all parameters are ignored.
To ensure related videos don't play at the end:
This should solve what you're trying to accomplish.
A few more options can be configured in the 'manage display' portion of the field configuration.
If you need more complex customizations of parameters, see this comment/thread.
Hope this helps.
Gus
Comment #2
xbrianx CreditAttribution: xbrianx commentedYes, that was what i needed! Thanks Gus.
Comment #3
webservant316 CreditAttribution: webservant316 commentedRelated video suggestions have begun to be visible again after my videos play even though I have "Show suggested videos when the video finishes" turned off. The related videos suggested are typically videos form my own Youtube channel.
Comment #4
webservant316 CreditAttribution: webservant316 commentedComment #5
webservant316 CreditAttribution: webservant316 commentedany thoughts?
Comment #6
webservant316 CreditAttribution: webservant316 commentedFYI the behavior of &rel=0 has changed
See https://developers.google.com/youtube/player_parameters
Comment #7
kala4ekFirst need to do an update (at least rename the settings) to 8.x release, then backport to 7.x
Comment #8
guschilds CreditAttribution: guschilds commentedComment #11
guschilds CreditAttribution: guschilds commentedThe setting's title has been updated in both branches of the module to reflect this change to the API. This will be a part of the next releases. Thanks everyone!
https://developers.google.com/youtube/player_parameters#august-23,-2018