Open videos in browser

This commit is contained in:
Frédéric Guillot 2022-09-04 15:52:15 -07:00 committed by Frédéric Guillot
parent 1c8b278116
commit d7a4b59db3
1 changed files with 4 additions and 0 deletions

View File

@ -131,6 +131,10 @@ class FileHelper extends Base
case 'flac':
case 'wav':
return 'audio/mpeg';
case 'avi':
return 'video/x-msvideo';
case 'webm':
return 'video/webm';
}
return null;