1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-16 23:29:49 +00:00

Added support for previewing Video and mp3 files.

This commit is contained in:
Phillip Thelen
2013-02-26 05:16:18 +01:00
parent dad3888b0c
commit 0bb42bb400
5 changed files with 27 additions and 0 deletions

View File

@@ -45,6 +45,8 @@ PREVIEW_FILEEXT = {
'PDF': ('pdf',),
'Markdown': ('markdown', 'md'),
'Sf': ('seaf',),
'Video': ('mp4', 'ogv', 'webm', 'flv'),
'Audio': ('mp3',),
}
def gen_fileext_type_map():