Posted by MarcusM on June 5, 2011 at 11:29am
11 followers
| Project: | Media: YouTube |
| Version: | 7.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
Hi,
When adding a URL or embed code with the rel parameter (http://code.google.com/apis/youtube/player_parameters.html#rel) specified, the setting appears not to be retained. This happens regardless of the URL style used with media:YouTube...
- http://www.youtube.com/v/0Q2aPi9ZEgs?rel=0
- http://www.youtube.com/v/0Q2aPi9ZEgs&rel=0
- http://www.youtube.com/watch?v=0Q2aPi9ZEgs&rel=0
<iframe width="480" height="390" src="http://www.youtube.com/embed/0Q2aPi9ZEgs?rel=0" frameborder="0" allowfullscreen></iframe>
It would be excellent to have support for rel=0 in the module. I'd love to be able to propose a solution, but I'm afraid I'm a bit of a newbie.
Suggestions most welcomed :)
Thanks!
Comments
#1
I'd really like to be able to add videos to my site without having related videos as well! It's an educational site, so a lot of the "related" videos are not appropriate.
Adding the ability to use &rel=0 would be really useful!
#2
Subscribing, would be useful to have modestbranding=1&rel=0 on embed code
#3
How about adding it as a setting for the formatter?
#4
Small correction.
#5
+1 subscribe
dboulet so your patch just adds the tick box under the settings nothing else? I mean, I didn't get it working, I still get related videos after video ends.
#6
Hi rhazor, the patch should actually work. Maybe try clearing your cache and see if that fixes it.
#7
Ahh, my bad dboulet, it all works now. I patched the latest dev version. Thank you!
#8
This patch applied for me on the latest dev release with no errors, and the field formatter works great. This is a nice feature to add in to the module. Thanks!
#9
Awesome, thanks I got that committed.
#10
Just a quick comment to say thanks for this!
Only just got the request from the client to not have related videos so this little patch is well appriciated and most timely!
Thanks!
#11
Automatically closed -- issue fixed for 2 weeks with no activity.
#12
I can't for the life of me see where this setting is set. Is it a setting in the field? I cant find it anywhere in my content type.
Thanks for any assistance.
#13
Ah, i think i found it.
It's under the 'admin/config/media/file-types/manage/video/file-display' for anyone else looking for the setting