commit c6e3bca051fa5119a25ac39d68b2148fc5c7315b
parent 068c8233a192c8464297cfe95509f6932d09bd43
Author: Yonle <yonle@lecturify.net>
Date: Tue, 11 Jul 2023 18:30:22 +0700
xs_mime.h: Add various mimetypes for audios & videos
Diffstat:
1 file changed, 17 insertions(+), 0 deletions(-)
diff --git 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" },