[wp-hackers] after flash upload

Benjamin J. Balter ben at balter.com
Tue Sep 20 20:43:29 UTC 2011


Yes. Pre-3.3 is a bit hacky (3.3 has a new media uploader), but doable.

Take a look at the below linked code for an example.

468 - 514 should show < 3.3, and 516 - 529 should show 3.3+:

http://plugins.trac.wordpress.org/browser/wp-document-revisions/trunk/admin.php?rev=440989

Note, if you don't need support for HTTP uploads, there is a
swfupload_success_handler hook in 3.1 - 3.2.

- Ben

On Mon, Sep 19, 2011 at 7:22 PM, Steve Taylor <steve at sltaylor.co.uk> wrote:

> Does anyone know how to bind some JS to execute after a file has been
> uploaded using the Flash uploader in the media overlay?
>
> cheers,
>
> Steve Taylor
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list