mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 05:25:40 +09:00
feat(backgrounds): accept webm custom call backgrounds (#2377)
This commit is contained in:
1 parent
f57dc77c6d
commit
cadab239a2
4 files changed
+33
-20
No files matched your search
@@ -31,6 +31,7 @@ const MEDIA_TYPES = new Map<
|
||||
['image/gif', {mimeType: 'image/gif', extension: 'gif', mediaKind: 'animated'}],
|
||||
['image/webp', {mimeType: 'image/webp', extension: 'webp', mediaKind: 'static'}],
|
||||
['video/mp4', {mimeType: 'video/mp4', extension: 'mp4', mediaKind: 'video'}],
|
||||
['video/webm', {mimeType: 'video/webm', extension: 'webm', mediaKind: 'video'}],
|
||||
]);
|
||||
|
||||
const MEDIA_TYPES_BY_EXTENSION = new Map(Array.from(MEDIA_TYPES.values()).map((value) => [value.extension, value]));
|
||||
|
||||
Reference in new issue
Block a user