swfupload_widget.js , line 128
'flash_url' => url($library['library path'] . '/Flash/swfupload.swf'),
causes that i have:
<object width="147" height="15" class="swfupload" data="/cs/sites/all/libraries/swfupload/Flash/swfupload.swf?preventswfcaching=1336817283518" type="application/x-shockwave-flash" id="SWFUpload_0">
<param value="transparent" name="wmode">
<param value="/cs/sites/all/libraries/swfupload/Flash/swfupload.swf?preventswfcaching=1336817283518" name="movie">
...
</object>
which is not found. if there is not /cs/ at beginning it works.
This:
'flash_url' => url($library['library path'] . '/Flash/swfupload.swf', array('language' => '')),
seems to be working. And please remove that "Flash" in path.
Comments
Comment #1
kmajzlik commentedsame thing on next one line:
and now it seems working.
Comment #2
alexey.gorb commentedI think using file_create_url is a more appropriate way to get an absolute url.
'flash_url' => file_create_url($library['library path'] . '/Flash/swfupload.swf'),Though, it is ok to use url() for the uplaod_url parameter, because it is an ajax callback url and will work both ways (prefixed or not)
The patch is also attached.
Comment #3
gumanist commentedWorks fine for me, thanks.
Seems should be RTBC