I have
Media 7.x-2.0-unstable7+53-dev
Media Gallery 7.x-2.x-dev

When I try to open Media file selector I see that I can upload only
Allowed file types: jpg jpeg gif png txt doc docx xls xlsx pdf ppt pptx pps ppsx odt ods odp.

I decided to add mp3 and mp4.

Changed settings in media_gallery_file field to jpg, jpeg, gif, png, txt, doc, docx, xls, xlsx, pdf, mp3, mov, mp4, mpeg, avi, wmv

But the settings I see opening selector are same.

I opened media.variables.inc and changed

'file_extensions' => variable_get('file_entity_default_allowed_extensions', 'jpg jpeg gif png txt doc docx xls xlsx pdf ppt pptx pps ppsx odt ods odp') . ' mp3 mov mp4 m4a m4v mpeg avi ogg oga ogv wmv ico',

to

'file_extensions' => variable_get('file_entity_default_allowed_extensions', 'jpg jpeg gif png txt mp3 mp4 doc docx xls xlsx pdf ppt pptx pps ppsx odt ods odp') . ' mov m4a m4v mpeg avi ogg oga ogv wmv ico',

But it did not help. The message I see in Media Selector is same:

Allowed file types: jpg jpeg gif png txt doc docx xls xlsx pdf ppt pptx pps ppsx odt ods odp.

Comments

yixia’s picture

I have the same issue, I just want show jpg, png ..and hide the Libray tab,
I can't change it on global settings of Media browser settings and the permission "View file details ".
If the "Enabled browser plugins" and "Allowed file extensions" of "Gallery media" field works, it will be great.

ivnish’s picture

Issue summary: View changes
Status: Active » Closed (outdated)