Closed (fixed)
Project:
Video Embed Field
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Feb 2013 at 18:46 UTC
Updated:
8 Apr 2020 at 21:39 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
jec006 commentedHi,
If you go to the configuration for Video Styles at : admin/config/media/vef_video_styles/list/
And edit the style you use to display the video (configured in the display settings) under youtube there is an option to show or not show related videos.
Comment #3
robertom commentedHi, sorry for my bad english
The generated embedded code have a &rel attribute, but don't add =0 when related videos is set to not show.
there are similar problem for &showinfo and other parameters that have a 0 value.
I would add a proposed patch
Comment #4
BD3 commentedI can confirm that #3 fixed the issue for me.
Comment #5
philipz commentedWorked for me too, thanks!
Comment #6
serg2 commentedPatch works for me too.
Opened a new issue as this this patch applies the correct settings provided in styles, not just 'Hiding related videos'.
I reference this post & patch.
Hope that was the correct thing to do, thanks.
Comment #7
mcunningham commentedYes, the patch works. Please commit!
Comment #8
plopescPatch committed af38cf8
Thank you!
Comment #10
saidbakr commentedI have the latest version of the module : 7.x-2.0-beta11 and I still have this issue, the related videos is still available after the end of the video. I tried to set a Google's project to get Google's YouTube api hoping it solve the issue but it does not solve the issue.
Comment #11
thomas.frobieterSame problem here like #10 - any solutions?
Comment #12
vincent_jo commentedsame here (#10)
... my customer is not amuzed to see "related videos" by his competitors at the end of the videos ;-)
Comment #13
remaye commentedI used a dirty fix here : https://www.drupal.org/node/2580459#comment-10661820
Comment #14
vincent_jo commentedConfirming "dirty fix" from #13
thanks a lot!
Comment #15
capynet commentedHide relatred videos is no more an option :(
https://developers.google.com/youtube/player_parameters (Find August 23, 2018):
Comment #16
hargobindIf you've arrived here because you are using version 2.0-beta11 or below and the checkbox no longer works, then see #2580459: Not all video style options are being applied for the fix.
What @capynet said is true: you cannot completely hide "Related videos"; instead it will show videos from the same channel.