From c6e3bca051fa5119a25ac39d68b2148fc5c7315b Mon Sep 17 00:00:00 2001 From: Yonle Date: Tue, 11 Jul 2023 18:30:22 +0700 Subject: [PATCH] xs_mime.h: Add various mimetypes for audios & videos --- xs_mime.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) 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" },