mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-02-02 06:46:22 +01:00
Enable webm support on Android
This commit is contained in:
parent
6c16a4b7af
commit
4708f2b23a
1 changed files with 2 additions and 1 deletions
|
@ -25,7 +25,7 @@ String getUserDirName(File file) {
|
|||
throw ArgumentError("Invalid path: ${file.path}");
|
||||
}
|
||||
|
||||
const _supportedFormatMimes = [
|
||||
final _supportedFormatMimes = [
|
||||
"image/jpeg",
|
||||
"image/png",
|
||||
"image/webp",
|
||||
|
@ -33,6 +33,7 @@ const _supportedFormatMimes = [
|
|||
"image/gif",
|
||||
// video player currently doesn't work on web
|
||||
if (!platform_k.isWeb) "video/mp4",
|
||||
if (platform_k.isAndroid) "video/webm",
|
||||
];
|
||||
|
||||
const _metadataSupportedFormatMimes = [
|
||||
|
|
Loading…
Reference in a new issue