set 'video/quicktime' to 'video/mp4' (#4495)

`video/quicktime` only plays in Firefox and Safari.
`video/mp4` plays in Firefox, Safari, and Chromium-based browsers.
This commit is contained in:
xnaas 2022-04-11 19:50:00 -05:00 committed by GitHub
parent 20ed3e6dc5
commit 57b1e51e9f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -119,6 +119,8 @@ class Uploader {
detectedMimeType = "audio/flac";
} else if (detectedMimeType === "audio/x-m4a") {
detectedMimeType = "audio/mp4";
} else if (detectedMimeType === "video/quicktime") {
detectedMimeType = "video/mp4";
}
res.setHeader("Content-Disposition", disposition);