Notes

An Epiphany

birthed on
June 10, 2008

Today I experienced one of those moments in my programming life where I was very relieved, but also extremely annoyed. I was relieved since I figured out a ‘Bug’ that was only occurring in Firefox for Windows (of all places). Annoyed, because it was probably the stupidest thing I ever did experience, which I spent a long, long time trying to figure out.

Over here at Virb we’re developing some cool new stuff for the imminent launch of Virb v2. This particular thing that I’m working on involves Flash, Javascript and ExternalInterface. What was baffling me was that Firefox for Windows was not recognizing any ExternalInterface calls, while every other browser did.

To make a long story very short, I had the Object and Embed tags with a height and width of 0px. Apparently, 0 height and width is like telling Firefox for Windows that the Object and Embed tags do not exist. I will now be changing it to 1px by 1px.

Comments

Dan
Jun 11 at 10:24am

Heck, that is really good to know. Wonder why just the Windows version is doing it that way? From what i know the rendering engine for Firefox is roughly the same for all 3 platforms. Strange.

Andrew Cornett
Jun 12 at 3:33pm

AH thats annoying. Hey, so what’s up with a Virb2 invite? :)

Spammers will be prosecuted under the fullest extent of the law. Or at least marked as spam in my mailbox.

Projects