Welcome, Guest
Username: Password: Remember me

TOPIC: Cannot Upload MP3 audio files (MIME audio/mpeg)

Cannot Upload MP3 audio files (MIME audio/mpeg) 19 Apr 2013 09:11 #7055

  • Pantelis
  • Pantelis's Avatar
  • Offline
  • Senior Member
  • Posts: 47
  • Thank you received: 2
  • Karma: 1
Dear friends,

I would like to upload audio files in my component and when i add the MIME type (audio/mpeg, mp3)
is not working in sandbox with the error : Mime type not valid (), allowed Mimes are audio/mpeg :

If i remove the Allow from the File properties it gives me the error :
This file extension ( mp3 ) is not accepted, the accepted files are :

What i can do with this issue ?
How can i upload MP3 files into my component ?

Thank you in advance.
The administrator has disabled public write access.

Re: Cannot Upload MP3 audio files (MIME audio/mpeg) 26 Apr 2013 05:56 #7083

  • Pantelis
  • Pantelis's Avatar
  • Offline
  • Senior Member
  • Posts: 47
  • Thank you received: 2
  • Karma: 1
:angry:

6 Days... No one can answer that ?
The administrator has disabled public write access.

Re: Cannot Upload MP3 audio files (MIME audio/mpeg) 27 Jun 2013 20:57 #7728

  • cliffordsean
  • cliffordsean's Avatar
  • Offline
  • Senior Member
  • Posts: 47
  • Thank you received: 1
  • Karma: 1
hi

any update on this

im using the new version of jcook and i cant upload mp3s or oggs !!

tnx
The administrator has disabled public write access.

Re: Cannot Upload MP3 audio files (MIME audio/mpeg) 28 Jun 2013 17:59 #7740

  • BTB300
  • BTB300's Avatar
  • Offline
  • Moderator
  • Posts: 415
  • Thank you received: 132
  • Karma: 47
Hi There
In the file properties box
The MIME types in white are not valid
Green MIME types are Valid

The Audio MIMES are given as examples

You can however upload audio files using Cook by creating your own
- hit the + sign to add to the list
- input standard mime types for audio
start here MIME TYPES LIST

However if you intend to use it for a production site
- use the fork files to extend your validation process do not rely on just MIME identification
- personally i suggest you do not rely on Cook alone to provide MIME validation
- Google and implement a stronger Audio File validation using the fork

and one final note
remember MIME validation issues can also be browser, server or client specific

Anyhow hope it helps
Last Edit: 28 Jun 2013 18:41 by BTB300.
The administrator has disabled public write access.
Time to create page: 0.060 seconds

Get Started