mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
client+server: add quicktime video support
Merge branch 'skybldev-upstream'
This commit is contained in:
@ -22,6 +22,7 @@ function _mimeTypeToPostType(mimeType) {
|
||||
"image/heic": "image",
|
||||
"video/mp4": "video",
|
||||
"video/webm": "video",
|
||||
"video/quicktime": "video",
|
||||
}[mimeType] || "unknown"
|
||||
);
|
||||
}
|
||||
@ -120,6 +121,7 @@ class Url extends Uploadable {
|
||||
heif: "image/heif",
|
||||
heic: "image/heic",
|
||||
mp4: "video/mp4",
|
||||
mov: "video/quicktime",
|
||||
webm: "video/webm",
|
||||
};
|
||||
for (let extension of Object.keys(mime)) {
|
||||
|
Reference in New Issue
Block a user