support webm video preview

pull/548/head
微凉 2021-12-08 14:43:38 +08:00
parent efaaeedfb8
commit a15dae291e
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ var (
var (
TextTypes = []string{"txt", "go", "md"}
OfficeTypes = []string{"doc", "docx", "xls", "xlsx", "ppt", "pptx", "pdf"}
VideoTypes = []string{"mp4", "mkv", "avi", "mov", "rmvb"}
VideoTypes = []string{"mp4", "mkv", "avi", "mov", "rmvb", "webm"}
AudioTypes = []string{"mp3", "flac", "ogg", "m4a"}
ImageTypes = []string{"jpg", "tiff", "jpeg", "png", "gif", "bmp", "svg"}
)