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

vladan.me’s picture

Status: Active » Closed (duplicate)

I am sorry for double post, marking as duplicate