I'd like to make a custom implementation of plupload, as seen in the example here :
But it uses plupload.Uploader(), not pluploadQueue().
I'm not sure how to use that in Plupload integration...


slashrsm’s picture

I suspect that it is not possible at the moment. However... I plan to start 2.x branch for new features, that possibly break backward compatibility and this could find it's way to that branch.

It would be nice to do a research and propose a solution for implementation.

Pierre_G’s picture

I found a way by attaching a JS to my form, which completely override the JS of the module, with :

Drupal.behaviors.plupload = function() { return false; }
Drupal.behaviors.pluploadform = function() { return false; }

I also added a #prefix to my plupload form element to add custom container / drop area and an pickfile button.
Right now, I'm trying to figure out a way to do what I want with the javascript, because it's slightly different with the plupload method used for a custom widget.
I'll be glad to share some code once done.
slashrsm’s picture

Version:7.x-1.0» 7.x-2.x-dev

Since this can be solution for your specific website, I doubt that this solution will work in general.

we need something that will allow people to select Plupload widget on a FAPI level. Solution should be clean and simple.

loze’s picture

has there been any work in this direction? I would like to be able to do something similar without using pluploadQueue

slashrsm’s picture

No, no work done yet. We will probably implement this for D8 we might backport it afterwards.