parent
42aebc5d9c
commit
593f0cea31
|
@ -43,20 +43,20 @@ class Application extends App implements IBootstrap
|
||||||
'image/heic',
|
'image/heic',
|
||||||
'image/png',
|
'image/png',
|
||||||
'image/tiff',
|
'image/tiff',
|
||||||
// 'image/gif', // too rarely used for photos
|
'image/gif',
|
||||||
|
'image/bmp',
|
||||||
// 'image/x-xbitmap', // too rarely used for photos
|
// 'image/x-xbitmap', // too rarely used for photos
|
||||||
// 'image/bmp', // too rarely used for photos
|
|
||||||
// 'image/svg+xml', // too rarely used for photos
|
// 'image/svg+xml', // too rarely used for photos
|
||||||
];
|
];
|
||||||
|
|
||||||
public const VIDEO_MIMES = [
|
public const VIDEO_MIMES = [
|
||||||
'video/mpeg',
|
'video/mpeg',
|
||||||
// 'video/ogg', // too rarely used for photos
|
'video/webm',
|
||||||
// 'video/webm', // too rarely used for photos
|
|
||||||
'video/mp4',
|
'video/mp4',
|
||||||
// 'video/x-m4v', // too rarely used for photos
|
|
||||||
'video/quicktime',
|
'video/quicktime',
|
||||||
'video/x-matroska',
|
'video/x-matroska',
|
||||||
|
// 'video/x-m4v', // too rarely used for photos
|
||||||
|
// 'video/ogg', // too rarely used for photos
|
||||||
];
|
];
|
||||||
|
|
||||||
public function __construct()
|
public function __construct()
|
||||||
|
|
|
@ -21,10 +21,18 @@ const props = `
|
||||||
<d:resourcetype />`;
|
<d:resourcetype />`;
|
||||||
|
|
||||||
const IMAGE_MIME_TYPES = [
|
const IMAGE_MIME_TYPES = [
|
||||||
|
'image/png',
|
||||||
'image/jpeg',
|
'image/jpeg',
|
||||||
|
'image/heic',
|
||||||
'image/png',
|
'image/png',
|
||||||
'image/tiff',
|
'image/tiff',
|
||||||
'image/heic',
|
'image/gif',
|
||||||
|
'image/bmp',
|
||||||
|
'video/mpeg',
|
||||||
|
'video/webm',
|
||||||
|
'video/mp4',
|
||||||
|
'video/quicktime',
|
||||||
|
'video/x-matroska',
|
||||||
];
|
];
|
||||||
|
|
||||||
const GET_FILE_CHUNK_SIZE = 50;
|
const GET_FILE_CHUNK_SIZE = 50;
|
||||||
|
|
Loading…
Reference in New Issue