robynndionne / jquery-tubular

Automatically exported from code.google.com/p/jquery-tubular
MIT License
0 stars 0 forks source link

Hide related videos ?rel=0 #55

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi I guess there is no option for adding "?rel=0" to the URL of the video? I 
would like video recommendations to be hidden. Thank you.

Original issue reported on code.google.com by wiruk...@gmail.com on 26 Apr 2014 at 4:46

GoogleCodeExporter commented 8 years ago
I love this plugin. Is there any possible way to hide the recommended/related 
videos at the end of the loop?

Original comment by hitupjo...@gmail.com on 14 May 2014 at 7:11

GoogleCodeExporter commented 8 years ago
I was able to figure this out via the Youtube API doumentation.

Open up the jquery.tubular.1.0.js file.

Find playerVars (On Line# 56 as of this version.)

Add rel: 0

So it will look something like this:

playerVars: {
                    rel: 0,
                    controls: 0,
                    showinfo: 0,
                    modestbranding: 1,
                    wmode: 'transparent'
                },

Original comment by m...@dereksneed.com on 18 Jun 2014 at 9:18

GoogleCodeExporter commented 8 years ago
Thanks

Original comment by mufaddal...@rbbideas.com on 24 May 2015 at 8:16