Topic: Understanding output in plupload
Hi ! I'm new in plupload.
How can we control the output? I've read this:
You need to add renaming logic to your server-side upload handler (probably upload.php), then package some JSON response with new name, url and whatever else you require and send it back to Plupload, then use FileUploaded event to handle JSON response on client-side. Quite straightforward.
source: http://www.plupload.com/punbb/viewtopic.php?id=708
but I can't find FileUploaded in the API to understand how to code that event, also I can't understand how upload.php works, because if I see it right it only outputs (when verything is OK) this:
die('{"jsonrpc" : "2.0", "result" : null, "id" : "id"}');
where is the information there? because the example works great, but I can't understand how the output works.
I was searching a good uploader, and I chose plupload between many options, because I think is the best, but I don't understand anything :S
I think it's very important a better documentation, also some tutorials, or at least a downloable API (for search and fast reading).