{"shas":[["ec0a88923903bcde64a62a3e1099c7aaeb2ffa1e","3ba3974e96044dcde818e6310ed799abe10671d4@pipwerks.com","Issue 536: Flashvars parsing wrong in IE\n\nhttp://code.google.com/p/swfobject/issues/detail?id=536\n\nThis is a potentially controversial change. I replaced createSWF's inner workings.  As previously constructed, createSWF generated a string for IE and native HTML <object> for non-IE. This lead to unequal handling of flashvars, among other things (issue 536 is focused specifically on the unequal flashvars handling). The non-IE handling used setAttribute to append flashvars to the param/object, whereas the IE version used string concatenation.\n\nThis proposed version of createSWF creates an <object> for ALL browsers, but for IE converts the <object> to a string via innerHTML before appending to the page using outerHTML (the outerHTML handling is retained from SWFObject 2.2).\n\nThis streamlines the code, make handling of flashvars consistent in all browsers, and hopefully compresses better, too.\n\nI haven't tested it thoroughly, but so far it works in all the browsers I've tried, including:\n\nOSX: Chrome 11, Firefox 4\nWin7: IE9\nWinXP: IE7\nSigned-off-by: Philip Hutchison <philip@pipwerks.com>","Philip Hutchison"]],"repo":"pipwerks/swfobject","actor":"pipwerks","ref":"refs/heads/master","size":1,"head":"ec0a88923903bcde64a62a3e1099c7aaeb2ffa1e","actor_gravatar":"9206e4b5dd5ca43b1acf724cd7a0cde9","push_id":32117116}