mirror of
https://github.com/thelounge/thelounge
synced 2024-11-21 19:43:07 +00:00
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
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue