Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Remove Youtube "Related Videos" from Module

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

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

Page: 1
Go to End
Author Topic: 947 Views
  • 1
    Avatar
    Community Member
    5 Posts

    Remove Youtube "Related Videos" from Module Link to this post

    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?

    947 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.