diff --git a/file_entity.install b/file_entity.install index 9cea354..e01bb92 100644 --- a/file_entity.install +++ b/file_entity.install @@ -1055,3 +1055,13 @@ function file_entity_update_7215() { db_add_primary_key('file_metadata', array('fid', 'name')); db_drop_index('file_metadata', 'temp'); } + +/** + * Fix the Video MIME type settings, it should be set to just "video/*" instead + * of a long list of individual types. + */ +function file_entity_update_7216() { + $video_type = file_type_load('video'); + $video_type->mimetypes = array('video/*'); + file_type_save($video_type); +}