{"issue":{"state":"open","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"milestone":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/dc87de55853de40f17d3f35bf489d5c5?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"dc87de55853de40f17d3f35bf489d5c5","url":"https://api.github.com/users/mabid","login":"mabid","id":329708},"labels":[],"assignee":null,"updated_at":"2011-11-16T14:29:50Z","comments":2,"closed_at":null,"url":"https://api.github.com/repos/moxiecode/plupload/issues/422","body":"When files are added i want to start the upload process automatically. I called the start function at the end of FilesAdded but it doesn't start the upload.\r\n\r\nuploader.bind('FilesAdded', function(up, files) {\r\n      var str = \"\";\r\n      for (var i in files) {\r\n        str += '<div id=\"' + files[i].id + '\">' + files[i].name + ' (' + plupload.formatSize(files[i].size) + ') <b></b></div>';\r\n      }\r\n      $('#filelist').html(str);\r\n      up.refresh();\r\n      up.start();\r\n    });\r\n\r\nHere is my creation code\r\n\r\nvar uploader = new plupload.Uploader({\r\n      runtimes: 'html5,flash,silverlight',\r\n      autostart : true,\r\n      url: '<%= images_path %>',\r\n      max_file_size: '10mb',\r\n      multipart: true,\r\n      browse_button: \"pickfiles\",\r\n      container: \"the-uploader\",\r\n      drop_element : \"drop-area\",  \r\n      multipart_params: {\r\n        '_http_accept': 'application/javascript',\r\n        '<%=request_forgery_protection_token%>': '<%=form_authenticity_token%>',\r\n        '<%=request.session_options[:key]%>': '<%=request.session_options[:id]%>'\r\n      },\r\n      filters: [\r\n        {title: \"Images\", extensions: \"avi,jpg,jpeg,png,zip\"}\r\n      ],\r\n    });\r\n","html_url":"https://github.com/moxiecode/plupload/issues/422","number":422,"title":"Automatically start upload when files added","id":2243380,"created_at":"2011-11-15T13:38:44Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/e93669f9bb668716faceb4b1aafec57e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"e93669f9bb668716faceb4b1aafec57e","url":"https://api.github.com/users/MCF","login":"MCF","id":223530},"updated_at":"2011-11-16T14:29:49Z","url":"https://api.github.com/repos/moxiecode/plupload/issues/comments/2759930","body":"Your problem does not seem to be a bug in plupload.   If Denozawr's suggestion does not work for you then try the plupload forum for answers to this kind of question:\r\n\r\nhttp://www.plupload.com/punbb/index.php","id":2759930,"created_at":"2011-11-16T14:29:49Z"}}