In our AEM 6.4.4 installation audio files (mp3) uploaded to a DAM folder cannot be selected in the asset browser (after upgrading from AEM 6.3 to 6.4).
In the "Assets" dropdown we can only select the types "Images", "Videos", "Documents" etc. but not "Audio".
We can however add Audio to the list of file types for documents for example ( /libs/cq/gui/content/common/options/predicates/filetypes ).
But this only adds these file types to the list of "Document" types for example.
The problem is that the resulting xhr request when selecting "documents" in the asset browser has a list of mime types that does not contain any mime type for audio files (e.g. audio/mpeg).
In the search form "Assets Admin Search Rail" we can only add file types, but this again does not impact the list of mime types used in the xhr requests:
When adding the audio/mpeg mime type to the mimetypes parameter the audio files show up in the result.
How can audio files be added to the asset browser?
Where can we find the list of mime types that are sent with the /bin/wcm/contentfinder/asset/view.html request?
If you want to have new filter or modify existing one to list more document types, we can modify it as mentioned below. Please follow below:
1. Create an overlay of the documents filter as
2. Add the mimetype to list of types that should be allowed.
3. Please edit the below line in the js file so that it will allow to list "zip" file in the Assets finder.
This should work.
We have tested your solution and it seems to work for us.
Thanks and cheers
Hi Shreya, This really save my time. This is awemsoe.