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

guschilds’s picture

Version: 7.x-1.0-alpha2 » 7.x-1.0
Status: Active » Closed (works as designed)

xbrianx,

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:

  1. Navigate to the module settings at admin/config/media/youtube
  2. Turn off "Show suggested videos when the video finishes"

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

xbrianx’s picture

Yes, that was what i needed! Thanks Gus.

webservant316’s picture

Issue summary: View changes

Related 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.

webservant316’s picture

Version: 7.x-1.0 » 7.x-1.7
Category: Bug report » Support request
Status: Closed (works as designed) » Active
webservant316’s picture

any thoughts?

webservant316’s picture

FYI the behavior of &rel=0 has changed

See https://developers.google.com/youtube/player_parameters

Note: This parameter is changing on or after September 25, 2018

kala4ek’s picture

Version: 7.x-1.7 » 8.x-1.x-dev
Component: Miscellaneous » User interface
Status: Active » Needs work

First need to do an update (at least rename the settings) to 8.x release, then backport to 7.x

guschilds’s picture

Title: No related Videos after Play » Rename rel setting to reflect YouTube API changes

  • guschilds committed 41b87a9 on 7.x-1.x
    Issue #2022663 by webservant316, guschilds: Rename rel setting to...

  • guschilds committed b742cfd on 8.x-1.x
    Issue #2022663 by webservant316, guschilds: Rename rel setting to...
guschilds’s picture

Status: Needs work » Fixed

The 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

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.