mp3's
I'm looking for some guidance on how to properly update the mime types to accept mp3's.
I've been playing with the demo using php. Images seemed to upload fine, but when I switch the acceptable files types with the following, it does not upload the the item.
"acceptFileTypes: /(.|/)(mpeg|x-mpeg|mp3|x-mp3|mpeg3|x-mpeg3|mpg|x-mpg|x-mpegaudio)$/i"
The response loooks like this:
[{"name":"music.mp3","size":0,"type":"","error":1}]
It looks like the type is not being set and thus causes "error:1".
Anyone else have this type of issue or have any idea what I am missing?
Here's a list of PHP error messages with explanations: http://php.net/manual/en/features.file-upload.errors.php
Value: 1; The uploaded file exceeds the upload_max_filesize directive in php.ini.
Thanks for the response! I actually figured it out. Great Plugin.