Merge pull request #17702 from Scroody/virtual-backgound-accepts-webp
feat (html5): Virtual backgrounds now accepts webp format
This commit is contained in:
commit
af23ce542e
@ -1,6 +1,6 @@
|
||||
import logger from '/imports/startup/client/logger';
|
||||
|
||||
const MIME_TYPES_ALLOWED = ['image/png', 'image/jpeg'];
|
||||
const MIME_TYPES_ALLOWED = ['image/png', 'image/jpeg', 'image/webp'];
|
||||
const MAX_FILE_SIZE = 5000; // KBytes
|
||||
|
||||
const withObjectStore = ({
|
||||
|
@ -13,6 +13,7 @@ export const PDF = 'application/pdf';
|
||||
export const JPEG = 'image/jpeg';
|
||||
export const PNG = 'image/png';
|
||||
export const SVG = 'image/svg+xml';
|
||||
export const WEBP = 'image/webp';
|
||||
|
||||
export const UPLOAD_SUPORTED = [
|
||||
XLS,
|
||||
|
@ -745,6 +745,8 @@ public:
|
||||
mime: image/jpeg
|
||||
- extension: .png
|
||||
mime: image/png
|
||||
- extension: .webp
|
||||
mime: image/webp
|
||||
selectRandomUser:
|
||||
enabled: true
|
||||
countdown: false
|
||||
|
Loading…
Reference in New Issue
Block a user