We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 721b275 commit dcf072cCopy full SHA for dcf072c
1 file changed
src/view/hooks/useFilesGallery/constants.ts
@@ -1,6 +1,8 @@
1
+import {isMac} from 'src/utils';
2
+
3
export const supportedImageExtensions = ['jpg', 'jpeg', 'png', 'gif', 'webp', 'svg', 'avif', 'bmp'];
4
-export const supportedVideoExtensions = ['mp4', 'webm', 'ogg'];
5
+export const supportedVideoExtensions = isMac() ? ['mp4', 'mov', 'webm', 'ogg'] : ['mp4', 'webm', 'ogg'];
6
7
export const supportedExtensions = [...supportedImageExtensions, ...supportedVideoExtensions];
8
0 commit comments