diff options
| author | skybldev | 2022-08-05 21:31:27 -0400 |
|---|---|---|
| committer | Shyam Sunder | 2023-04-17 11:36:44 -0400 |
| commit | 8a03015349c3d9642c4d83472dbe76b072dd05a1 (patch) | |
| tree | f99200a48f571c2a0c6bfb927dcf2436ecbc3f8f /client/js | |
| parent | 6c3b50d287a8b8ba67d2bb4cf3cffe25bcd3b4e6 (diff) | |
client+server: added quicktime upload support
Diffstat (limited to 'client/js')
| -rw-r--r-- | client/js/views/post_upload_view.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/js/views/post_upload_view.js b/client/js/views/post_upload_view.js index fc98a19..4ef4c1a 100644 --- a/client/js/views/post_upload_view.js +++ b/client/js/views/post_upload_view.js @@ -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)) { |