mirror of
				https://github.com/KevinMidboe/immich.git
				synced 2025-10-29 17:40:28 +00:00 
			
		
		
		
	fix(web): Mov files should show up in file picker. (#2886)
This commit is contained in:
		
				
					committed by
					
						
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							26f58d3335
						
					
				
				
					commit
					3c5fefde2e
				
			@@ -23,7 +23,7 @@ export const openFileUploadDialog = async (
 | 
			
		||||
			// When adding a content type that is unsupported by browsers, make sure
 | 
			
		||||
			// to also add it to getFileMimeType() otherwise the upload will fail.
 | 
			
		||||
			fileSelector.accept =
 | 
			
		||||
				'image/*,video/*,.heic,.heif,.avif,.dng,.3gp,.nef,.srw,.crw,.cr2,.cr3,.raf,.insp,.insv,.arw,.erf,.raf,.dcr,.k25,.kdc,.mrw,.orf,.raw,.pef,.x3f,.srf,.sr2,.3fr,.fff,.rwl,.ori,.iiq,.ari,.cap,.cin';
 | 
			
		||||
				'image/*,video/*,.heic,.heif,.avif,.dng,.3gp,.nef,.srw,.crw,.cr2,.cr3,.raf,.insp,.insv,.arw,.erf,.raf,.dcr,.k25,.kdc,.mrw,.orf,.raw,.pef,.x3f,.srf,.sr2,.3fr,.fff,.rwl,.ori,.iiq,.ari,.cap,.cin,.mov';
 | 
			
		||||
 | 
			
		||||
			fileSelector.onchange = async (e: Event) => {
 | 
			
		||||
				const target = e.target as HTMLInputElement;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user