summaryrefslogtreecommitdiff
path: root/xs_mime.h
diff options
context:
space:
mode:
authorYonle <yonle@lecturify.net>2023-07-11 18:30:22 +0700
committerYonle <yonle@lecturify.net>2023-07-11 18:31:36 +0700
commitc6e3bca051fa5119a25ac39d68b2148fc5c7315b (patch)
treedd760528f1932cf3cf34a14ae75d30acd2247d37 /xs_mime.h
parent068c8233a192c8464297cfe95509f6932d09bd43 (diff)
xs_mime.h: Add various mimetypes for audios & videos
Diffstat (limited to 'xs_mime.h')
-rw-r--r--xs_mime.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/xs_mime.h b/xs_mime.h
index 8d8b16b..effefdb 100644
--- a/xs_mime.h
+++ b/xs_mime.h
@@ -19,6 +19,23 @@ struct _mime_info {
{ "image/jpeg", ".jpg" },
{ "image/png", ".png" },
{ "image/webp", ".webp" },
+ { "video/mp4", ".mp4"},
+ { "video/mp4", ".mpg4"},
+ { "video/mp4", ".m4v"},
+ { "video/webm", ".webm"},
+ { "video/quicktime", ".mov"},
+ { "video/3gpp", ".3gp"},
+ { "video/ogg", ".ogv"},
+ { "video/flv", ".flv"},
+ { "audio/mp3", ".mp3"},
+ { "audio/ogg", ".ogg"},
+ { "audio/ogg", ".oga"},
+ { "audio/opus", ".opus"},
+ { "audio/flac", ".flac"},
+ { "audio/wav", ".wav"},
+ { "audio/wma", ".wma"},
+ { "audio/aac", ".aac"},
+ { "audio/aac", ".m4a"},
{ "text/css", ".css" },
{ "text/html", ".html" },
{ "text/plain", ".txt" },