#515 ✓ staged
Mohammed Buttu

Flickr plugin variable undefined

Reported by Mohammed Buttu | May 11th, 2011 @ 03:07 PM | in 0.7

The variable, i, in popcorn-js/plugins/flickr/popcorn.flicker.js is initially undefined, and is used as part of the id for a new div.

    var containerDiv,
        _count   = options.numberofimages || 4 ,
        _height  = options.height || "50px",
        _width   = options.width || "50px",
        _padding = options.padding || "5px",
        _border  = options.border || "0px",

    // create a new div this way anything in the target div is left intact
    // this is later populated with Flickr images
    containerDiv               = document.createElement( "div" );
    containerDiv.id            = "flickr"+ i;
    containerDiv.style.width   = "100%";
    containerDiv.style.height  = "100%";
    containerDiv.style.display = "none";

The variable i should be initialized.

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

Referenced by