dryhurst/jquery-tubular

Hide related videos ?rel=0

Opened this issue · 3 comments

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

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

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

Thanks

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