Try to fix Mac video upload
This commit is contained in:
parent
572b8e02e2
commit
307902e2b3
3 changed files with 6 additions and 5 deletions
|
@ -26,8 +26,7 @@ export class AccountsComponent implements OnInit, OnDestroy {
|
||||||
private notifier: Notifier,
|
private notifier: Notifier,
|
||||||
private restExtractor: RestExtractor,
|
private restExtractor: RestExtractor,
|
||||||
private redirectService: RedirectService,
|
private redirectService: RedirectService,
|
||||||
private authService: AuthService,
|
private authService: AuthService
|
||||||
private i18n: I18n
|
|
||||||
) {}
|
) {}
|
||||||
|
|
||||||
ngOnInit () {
|
ngOnInit () {
|
||||||
|
|
|
@ -795,7 +795,9 @@ function buildVideoMimetypeExt () {
|
||||||
'video/quicktime': '.mov',
|
'video/quicktime': '.mov',
|
||||||
'video/x-msvideo': '.avi',
|
'video/x-msvideo': '.avi',
|
||||||
'video/x-flv': '.flv',
|
'video/x-flv': '.flv',
|
||||||
'video/x-matroska': '.mkv'
|
'video/x-matroska': '.mkv',
|
||||||
|
'application/octet-stream': '.mkv',
|
||||||
|
'video/avi': '.avi'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue