Adds some missing mime types to ensure uploaded audio and video displays with preview. (#19039)
This commit is contained in:
@@ -461,6 +461,7 @@ export function getMimeTypeFromExtension(extension: string): string | null {
|
||||
'.onetoc2': 'application/onenote',
|
||||
'.opf': 'application/oebps-package+xml',
|
||||
'.oprc': 'application/vnd.palm',
|
||||
'.opus': 'audio/ogg',
|
||||
'.org': 'application/vnd.lotus-organizer',
|
||||
'.osf': 'application/vnd.yamaha.openscoreformat',
|
||||
'.osfpvg': 'application/vnd.yamaha.openscoreformat.osfpvg+xml',
|
||||
@@ -744,6 +745,8 @@ export function getMimeTypeFromExtension(extension: string): string | null {
|
||||
'.wbxml': 'application/vnd.wap.wbxml',
|
||||
'.wcm': 'application/vnd.ms-works',
|
||||
'.wdb': 'application/vnd.ms-works',
|
||||
'.weba': 'audio/webm',
|
||||
'.webm': 'video/webm',
|
||||
'.webp': 'image/webp',
|
||||
'.wiz': 'application/msword',
|
||||
'.wks': 'application/vnd.ms-works',
|
||||
|
||||
Reference in New Issue
Block a user