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

Image in div set to display:none #62

Open
ciarangaffey opened this issue Jan 18, 2017 · 1 comment
Open

Image in div set to display:none #62

ciarangaffey opened this issue Jan 18, 2017 · 1 comment

Comments

@ciarangaffey
Copy link

I've successfully set a video as the background to a div however now when the video starts (and loops) the image inside the div is set to display:none. I've forced display:inline-block but each time the video loops the logo disappears and then reappears. Any ideas?

@evepizzagalli
Copy link

Hi. I had the same issue, it is because the script allow you to set an image to have something to show on your homepage during the video loading or if your video can't load at all. There is a solution. You have to open "jquery.youtubebackground.js" and to delete the following line or just to set it as a commentary if you want tu re-use it later: self.$node.find('img').fadeOut(400);
You're welcome.

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

No branches or pull requests

2 participants