#897 ✓ staged

Facebook Plugin: _setup not setting div to hidden

Reported by John-Paul | January 20th, 2012 @ 02:46 PM | in 1.2 (closed)

There is a bug in the facebook plugin. When initializing in the _setup the popcorn container div is never set to hidden. Therefore if a facebook plugin is used it will appear on page load even if you say you don't want it to start until 10 seconds in.

How to fix: add this to line 213 of popcorn.js -
options._container.style.display = "none";

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Popcorn.js is an HTML5 video framework that lets you bring elements of the web into your videos.

Popcorn.js is a project of Web Made Movies, Mozilla's Open Video Lab.

Shared Ticket Bins