diff --git a/lib/db/content_type_mime.db b/lib/db/content_type_mime.db index e571ada..9ae6629 100644 --- a/lib/db/content_type_mime.db +++ b/lib/db/content_type_mime.db @@ -47,7 +47,7 @@ meta4 application/metalink4+xml mets application/mets+xml base64 mods application/mods+xml base64 m21 application/mp21 base64 -mp4 application/mp4 base64 +mp4 video/mp4 base64 doc application/msword base64 mxf application/mxf base64 nc application/netcdf base64 diff --git a/lib/db/ext_mime.db b/lib/db/ext_mime.db index 5cf98a5..667f6e9 100644 --- a/lib/db/ext_mime.db +++ b/lib/db/ext_mime.db @@ -545,15 +545,15 @@ mp21 application/mp21 mp2a audio/mpeg base64 mp3 audio/mpeg base64 mp3g video/mpeg base64 -mp4 application/mp4 base64 +mp4 video/mp4 base64 mp4a audio/mp4 base64 -mp4s application/mp4 base64 +mp4s video/mp4 base64 mp4v video/mp4 base64 mpc application/vnd.mophun.certificate base64 mpe video/mpeg base64 mpeg video/mpeg base64 mpg video/mpeg base64 -mpg4 application/mp4 base64 +mpg4 video/mp4 base64 mpga audio/mpeg base64 mpkg application/vnd.apple.installer+xml base64 mpl video/MP2T base64 diff --git a/test/mini_mime_test.rb b/test/mini_mime_test.rb index 5e68980..fe59d1a 100644 --- a/test/mini_mime_test.rb +++ b/test/mini_mime_test.rb @@ -62,8 +62,8 @@ def should_prioritize_extensions_correctly "es" => "application/ecmascript", "jar" => "application/java-archive", "ser" => "application/java-serialized-object", - "mp4" => "application/mp4", - "mpg4" => "application/mp4", + "mp4" => "video/mp4", + "mpg4" => "video/mp4", "doc" => "application/msword", "pgp" => "application/octet-stream", "gpg" => "application/octet-stream",