1
0
mirror of https://github.com/lrsjng/h5ai.git synced 2025-08-13 09:24:11 +02:00

Split vid types.

This commit is contained in:
Lars Jung
2014-08-09 00:42:46 +02:00
parent 0aa438f859
commit 4014e4b852
2 changed files with 16 additions and 4 deletions

View File

@@ -262,7 +262,7 @@ Options
*/
"preview-vid": {
"enabled": true,
"types": ["vid"]
"types": ["vid-avi", "vid-flv", "vid-mkv", "vid-mov", "vid-mp4", "vid-mpg", "vid-webm"]
},
/*
@@ -325,8 +325,8 @@ Options
*/
"thumbnails": {
"enabled": true,
"img": ["img", "img-bmp", "img-gif", "img-ico", "img-jpg", "img-png"],
"mov": ["vid"],
"img": ["img-bmp", "img-gif", "img-ico", "img-jpg", "img-png"],
"mov": ["vid-avi", "vid-flv", "vid-mkv", "vid-mov", "vid-mp4", "vid-mpg", "vid-webm"],
"doc": ["x-pdf", "x-ps"],
"delay": 1,
"size": 96,

View File

@@ -57,7 +57,19 @@ File types mapped to file extensions
"txt-tex": ["*.tex"],
"txt-vcal": ["*.vcal"],
"txt-xml": ["*.xml"],
"vid": ["*.avi", "*.flv", "*.mkv", "*.mov", "*.m4v", "*.mp4", "*.mpg", "*.rm", "*.swf", "*.ts", "*.vob", "*.webm", "*.wmv"],
"vid": [],
"vid-avi": ["*.avi"],
"vid-flv": ["*.flv"],
"vid-mkv": ["*.mkv"],
"vid-mov": ["*.mov"],
"vid-mp4": ["*.mp4", "*.m4v"],
"vid-mpg": ["*.mpg"],
"vid-rm": ["*.rm"],
"vid-swf": ["*.swf"],
"vid-ts": ["*.ts"],
"vid-vob": ["*.vob"],
"vid-webm": ["*.webm"],
"vid-wmv": ["*.wmv"],
"x": [],
"x-calc": ["*.ods", "*.ots", "*.xlr", "*.xls", "*.xlsx"],
"x-doc": ["*.doc", "*.docx", "*.odm", "*.odt", "*.ott"],