出现这种情况,需要在swfupload.js中的getFlahHTML方法修改一下,代码如下:
SWFUpload.prototype.getFlashHTML = function () { // Flash Satay object syntax: var myclass=""; if(navigator.userAgent.indexOf("MSIE")>0){ myclass='classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'; } return ['<object '+myclass+' id="', this.movieName, '" type="application/x-shockwave-flash" data="', this.settings.flash_url, '" width="', this.settings.button_width, '" height="', this.settings.button_height, '" class="swfupload">', '<param name="wmode" value="', this.settings.button_window_mode, '" />', '<param name="movie" value="', this.settings.flash_url, '" />', '<param name="quality" value="high" />', '<param name="menu" value="false" />', '<param name="allowScriptAccess" value="always" />', '<param name="flashvars" value="' + this.getFlashVars() + '" />', '</object>'].join(""); };