Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Remove Youtube "Related Videos" from Module


Reply


974 Views

Avatar
1

Community Member, 5 Posts

1 December 2008 at 9:46pm

I am successfully using the youtubeservice module and am very happy with it. Can anybody suggest a way to remove the related videos? I'm almost clueless with PHP.

This is what YouTube gives me when I choose to exclude the "Related Videos":

<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/VIDEOIDHERE&hl=en&fs=1&rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/7i8aNCaNgro&hl=en&fs=1&rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>

So basically it seems like it's adding

&rel=0

to the link. I tried adding this in a couple of places in the module without any luck. Any suggestions?