I am trying to include the new WP Media Uploader in a Custom Meta Box.
I found this tutorial.
However, I am looking for a way to limit the uploader to only accept certain types of files like 'application/msword', 'application/vnd.ms-excel', 'application/pdf', etc. and to return the linked document url to a text field i have in the metabox
Any ideas, links or just basically anything to point me in the right direction would be highly appreciated!