Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #16853

    Client wants the recommended videos to go away. Found this post (http://www.kriesi.at/support/topic/turn-off-youtube-recommended-videos) but I don’t have the javascript file that was mentioned.

    This is the code I’m using…works properly:

    #93129

    Hey!

    You didn’t post the code ;-)

    Best regards,

    Peter

    #93130

    Sorry.

    #93131

    <a class="lightbox" href="http://www.youtube.com/watch?v=Ppm30AaehNs?rel=0&lightbox[width]=1000&lightbox[height]=599&lightbox[modal]=true">

    I now know that lightbox ignores rel=0 but how can I disable recommended videos in Flagship

    #93132

    Hi,

    Please look in folder /js/ and make a backup then open aviapoly2.js Please find line 277 which looks like

    src += "&wmode=opaque";

    and change it to look like

    src += "&wmode=opaque&rel=0";

    and find line 281 which looks like

    src += "?wmode=opaque";

    and change it to look like

    src += "?wmode=opaque&rel=0";

    Hopefully this does the trick.

    Thanks,

    Nick

    #93133

    I wish I could report that it worked but it didn’t :(

    If it helps here is the actual page the video is on.

    http://claycoopertheatre.com/clay-cooper/about-the-show/

    #93134

    Hi,

    This is what the link looks like now

    http://www.youtube.com/embed/Ppm30AaehNs?rel=0?rel=0&autoplay=1

    so its reading that rel equals to “0?rel=0″ and autoplay equals 1

    Please check the original you are embedding, that it has no ?rel=0 and look at the source as to how the link is changed, because there is a renegade “?rel=0″ somewhere that has to be removed.

    Thanks,

    Nick

    #93135

    Found the extra rel=0 and removed it. Recommended videos still pop up at the end.

    #93136

    Client was getting upset so I spent some time researching this morning. Found out that Lightbox Plus for WordPress uses Colorbox which allows for the rel=0 Installed it and added back the rel=0 and the recommended videos at the end are gone! Thanks for all your help. Besides this obstacle….I really like the theme.

    #93137

    Hi,

    Thanks for letting us know.

    Thanks,

    Nick

Viewing 10 posts - 1 through 10 (of 10 total)

The topic ‘Flagship – Lightbox – Disable recommended YouTube videos’ is closed to new replies.