Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Here on this page we can see that it is possible to add some events with plupload library.
As far as I understood, this module allows us to append custom settings with:
'#plupload_settings' => array(
'runtimes' => 'html5',
'chunk_size' => '1mb',
),
Logically, this is a place where events should be added considering plupload example stated above, consider for example
init : {
QueueChanged: function(up) {
// Called when the files in queue are changed by adding/removing files
log('[QueueChanged]');
}
expecting something like
'#plupload_settings' => array(
'runtimes' => 'html5',
'chunk_size' => '1mb',
'init' => .......
),
I am not quite sure how to add it?
Or maybe it is better to use some other approach, js?
Thanks,
Vladan
Comments
Comment #1
vladan.me CreditAttribution: vladan.me commentedI am sorry for double post, marking as duplicate