By default Joomla allows you to upload on limited type of files, specifically the following:
You can see we are able to upload some kinds of images, PDF files, txt files, excel, word and power point. But this doesn’t include video and/or audio. There are 2 steps required to enable the upload of any kind of new file types.
- Add the file extension in the media manager (both in uppercase and lower case). So, in our case it will be mp4,MP4,mp3,MP3.
- Add MIME type identifier as well. For MP3 it’s audio/mpeg and MP4 it’s video/mp4.
Login to your Joomla website and go to Content >> Media and then Click the Options button on top right.
Let’s add our file extensions into the Legal File Extensions input box each value separated by comma and MIME types into the Legal MIME Types input box, again each value separated by comma.
Once done, you should be able to upload MP3 and MP4 file types. You can repeat the same process for other files types too, here is a list of most commonly used MIME types.