Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide related videos ?rel=0 #55

Open
GoogleCodeExporter opened this issue Jan 27, 2016 · 3 comments
Open

Hide related videos ?rel=0 #55

GoogleCodeExporter opened this issue Jan 27, 2016 · 3 comments

Comments

@GoogleCodeExporter
Copy link

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 [email protected] on 26 Apr 2014 at 4:46

@GoogleCodeExporter
Copy link
Author

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

Original comment by [email protected] on 14 May 2014 at 7:11

@GoogleCodeExporter
Copy link
Author

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 [email protected] on 18 Jun 2014 at 9:18

@GoogleCodeExporter
Copy link
Author

Thanks

Original comment by [email protected] on 24 May 2015 at 8:16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant