Was chatting with a user that was trying to upload an mp3 file to a gallery, but that doesn't seem to be allowed. Documentation only talks about images and video so my guess is that it isn't supported yet.

However, the upload field has this text under it:
"Allowed file types: jpg jpeg gif png txt doc xls pdf ppt pps odt ods odp mp3 mov m4v mp4 mpeg avi ogg wmv ico."

Audio formats are listed as allowed formats.


JacobSingh’s picture

Yeah, this is a UX issue. Search around the queue (I'm too busy at the moment) and you'll see issues about media type definition, etc.. the limitation is actually passed in when the media browser is instantiated and is related to the field definition (Gallery nodes have a media field on them).

tsvenson’s picture

Tried to edit the Multimedia asset field for the Gallery CT, but it is locked and can't be changed.

JacobSingh’s picture

We should have a separate bug for that. Adding audio is really a feature request, but we should make it possible to unlock that field in the standard d.o. version (from the UI). You can unlock it in the DB in the field_config table.

drupaljohngo’s picture

Is there a work around with embedding with a web service?

I'm very interested in created a mp3 gallery. Oh, well. Have to use the old noodle and figure
out views and taxonomy.

ohthehugemanatee’s picture

If "adding audio is a feature request", please remove "Audio" from its conspicuous place in the File Types list. It's deceptive and confusing for the user. We'd all love to see Audio added to the list of supported file types for this module... but let's not jump the gun. :)

David_Rothstein’s picture

@ohthehugemanatee: The reason that's difficult is that the file types list is not provided by the Media Gallery module.

There's probably a way to alter it, but then it might be blocked in other situations also where it's not supposed to be (I don't personally know if Media module itself works well with audio yet).

effulgentsia’s picture

Status: Active » Fixed

Just committed this to Media Gallery: http://drupalcode.org/project/media_gallery.git/commitdiff/71f597b?hp=08....

Note that this does not implement formatters for audio though. media_gallery_file_default_displays() provides default display configurations for local images and YouTube videos only. I don't know what module will end up being responsible for rendering uploaded audio (perhaps http://drupal.org/project/audio). Remote provider integration modules (e.g., http://drupal.org/project/media_soundcloud) will be responsible for their rendering.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.