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:
parent
20ed3e6dc5
commit
57b1e51e9f
@ -119,6 +119,8 @@ class Uploader {
|
|||||||
detectedMimeType = "audio/flac";
|
detectedMimeType = "audio/flac";
|
||||||
} else if (detectedMimeType === "audio/x-m4a") {
|
} else if (detectedMimeType === "audio/x-m4a") {
|
||||||
detectedMimeType = "audio/mp4";
|
detectedMimeType = "audio/mp4";
|
||||||
|
} else if (detectedMimeType === "video/quicktime") {
|
||||||
|
detectedMimeType = "video/mp4";
|
||||||
}
|
}
|
||||||
|
|
||||||
res.setHeader("Content-Disposition", disposition);
|
res.setHeader("Content-Disposition", disposition);
|
||||||
|
Loading…
Reference in New Issue
Block a user