Browse Source

Added 3g2 mime type

LukePulverenti Luke Pulverenti luke pulverenti 13 năm trước cách đây
mục cha
commit
e2fe4174da
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      MediaBrowser.Common/Net/MimeTypes.cs

+ 4 - 0
MediaBrowser.Common/Net/MimeTypes.cs

@@ -61,6 +61,10 @@ namespace MediaBrowser.Common.Net
             {
                 return "video/3gpp";
             }
+            else if (ext.EndsWith("3g2", StringComparison.OrdinalIgnoreCase))
+            {
+                return "video/3gpp2";
+            }
             else if (ext.EndsWith("ts", StringComparison.OrdinalIgnoreCase))
             {
                 return "video/mp2t";