swfobject/swfobject — pull request #8 by edendramis (2012-01-10 22:05:53+00:00)
Title: Added .toUpperCase() to areas where comparing nodeName == "OBJECT" for XHTML compatibility 

I'd like to help support swfObject to be 100% xhtml compatible. We use application/xhtml+xml on our websites at work and we've been using swfObject for years without any issues (until IE9, of course..)

With IE 9 actually supporting xhtml, we've starting to run into a couple issues. I submitted a bug last week here: http://code.google.com/p/swfobject/issues/detail?id=613 but it was marked invalid.

This patch I'm submitting will fix the issue I reported in bug 613.

You can see where we are using swf object in XHTML on any of Blizzard's Battle.net sites, e.g. http://us.battle.net/wow/en/media/videos/?view#/hour-of-twilight