Selaa lähdekoodia

[ Mobile ] Fixed mobile app not reporting webm MIME type (#2090)

Zeyad Tamimi 2 vuotta sitten
vanhempi
commit
1a94530935
1 muutettua tiedostoa jossa 3 lisäystä ja 0 poistoa
  1. 3 0
      mobile/lib/utils/files_helper.dart

+ 3 - 0
mobile/lib/utils/files_helper.dart

@@ -44,6 +44,9 @@ class FileHelper {
       case '3gp':
       case '3gp':
         return {"type": "video", "subType": "3gpp"};
         return {"type": "video", "subType": "3gpp"};
 
 
+      case 'webm':
+        return {"type": "video", "subType": "webm"};
+
       default:
       default:
         return {"type": "unsupport", "subType": "unsupport"};
         return {"type": "unsupport", "subType": "unsupport"};
     }
     }