Thanks Shelley, did you upgrade to 1.4.1 or just patch the file? I tried patching just now, but it still doesn't work (even with a CTRL-F5 refresh).It seems to be fixed now for me.
Thanks Shelley, did you upgrade to 1.4.1 or just patch the file? I tried patching just now, but it still doesn't work (even with a CTRL-F5 refresh).
It does not work for me neither.
- Update to 1.4.1, clear cache, the problem remains (clicking on the button doesn't trigger anything).
- Two plugins (not extensions, tested them all disabled, no change) are enabled: shockwave flash 15.0.0.152 & shockwave flash 11.8.800.168. It seems the new update didn't uninstall the former one
=> Disable one of them, the upload can only start in single file upload (black overlay uploader)
=> Rename C:\Windows\System32\Macromed\Flash\NPSWF32_11_8_800_168.dll to disable it in FF, enable only version 15, the problem remains (clicking on the button doesn't trigger anything).- Adding SWFObject fixes the problem in every case
Option 2:
Edit the file xenforo/js/swfupload/swfupload.min.js and replace its full content with this code (from SWFUpload 2.50 beta 3)
Thanks Mate but what do you mean by this?Adding SWFObject fixes the problem in every case
SWFUpload.prototype.getFlashHTML = function () {
// Flash Satay object syntax: http://www.alistapart.com/articles/flashsatay
var extraStyle = [];
if ($.browser.mozilla && this.settings.button_window_mode == SWFUpload.WINDOW_MODE.TRANSPARENT){
this.settings.button_window_mode = SWFUpload.WINDOW_MODE.OPAQUE;
extraStyle.push('opacity: 0');
}
extraStyle = extraStyle.join(';')
if(extraStyle){
extraStyle = ' style="'+extraStyle+'"';
}
return ['<object 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"', extraStyle,'>',
'<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("");
};
You're very welcome.From tests with @Brogan, this is wmode related. Setting the wmode to opaque or transparent causes it; setting it to window immediately seems to fix it and potentially even keep it fixed in additional tests. (Setting the wmode to window is a non-starter in our usage.)
Still have some additional testing, but I do have a simplified test case now.
There isn't a verified fix. It's likely to require a browser change. Also note that it doesn't happen to everyone; I have failed to reproduce it on 3 machines.
I don't use Redactor, but yes it's possible since the SWFObject certainly has some event listeners which might cause conflicts. SWFObject has been added in the last version of swfupload and documented like this:Having rolled this out (to fix the window problem with FF) I'm now getting complaints from Chrome and Opera users that the editor is slow to respond and posting can be delayed up to a minute. Would this updated file impact on the editor in this way? And if so, is there an XF fix in the pipeline? (If so, I'll revert and use the official fix when it's out).
Thanks,
Shaun
SWFObject
The SWFObject plugin uses the SWFObject library to handle the embedding of the SWFUpload Flash Component into the page.
This plugin also provides support for Document Ready loading and Flash Version Detection. Usage details are documented in the plugin file itself. You should not use the SWFObject's Document Ready loading mixed with another libraries DOMReady. Use one or the other but not both.
Flash Player 10: Because Flash Player 10 requires the SWFUpload swf to act is a button the movie must be visible in order for it to load. If the button_placeholder_id is set to an element that is hidden (visibility set to hidden or display set to none) SWFUpload will fail to load.
WMODE / BUTTON_WINDOW_MODE
In some browsers the selected WMODE (which is set using the BUTTON_WINDOW_MODE) can prevent the Flash Control from loading if the control is not on screen. The control will finally load once the user scrolls the page so the control becomes visible.
This behavior can adversely affect the SWFObject plugin. No SWFUpload events will be fire and the button image will not be loaded until the control becomes visible.
On some systems (Linux is affected) when the WMODE is transparent Flash opens the File Dialog window behind the browser window.
We use essential cookies to make this site work, and optional cookies to enhance your experience.