1

(112 replies, posted in News)

With the previous version, multipart_params is a global param for plupload.

So we can't set a multipart param individually for each file.
It is a problem in case that we set the param once, upload a group of files, and change the param for a second group of files.  But if all the first group of files is not uploaded entirely, all the files in the queue will get the new param setted.

To set a multipart param individually on each file, I needed to do this :

uploader.bind('FilesAdded', function(up, files) {
    $.each(files, function(i, file) {
        file.multipart_params = {MyParam: $('#MyParam').val()};
    });
    up.refresh();
    uploader.start();
});

uploader.bind("BeforeUpload", function(up, file) {
    uploader.settings.multipart_params = file.multipart_params;
});


davit wrote:

@Seb33300, sorry no option currently. But I'm working on download configurator at the moment and I'll probably include this as an option.

Thanks !

2

(112 replies, posted in News)

davit wrote:

This was possible and was turned off intentionally, due to some security concerns. However it was relatively easy with Flash or SilverLight only. You still can get back this functionality if you recompile corresponding shims.

Is there no possibility to create an option to activate it ?
I have no idea how to recompile flash and silverlight.

3

(112 replies, posted in News)

Hello,

What about the possibility to use plupload on cross domain ?

I mean that i need to host plupload scripts on my static subdomain and use them on my others domains.

I was not able to do that with the previous version.

Have you found a solution ?

I have the same problem.
I need to place swf and js files on my static subdomain. But plupload is not working.

I don't know if it's a flash or a javascript security issue.

I placed a crossdomain.xml on my static subdomain root but it still not work.

<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
   <allow-access-from domain="*.mydomain.com"/>
</cross-domain-policy>