diff options
author | Johannes Zellner <johannes@cloudron.io> | 2018-10-08 16:03:37 +0200 |
---|---|---|
committer | Johannes Zellner <johannes@cloudron.io> | 2018-10-08 16:03:37 +0200 |
commit | c66d70933dbd80ec734f4986f92369ff1e549bbb (patch) | |
tree | cecbabafcb675e7f2c689803167e019fc63fc876 /frontend | |
parent | 3760489ffc7596a13909907c60d1410d8161b89e (diff) | |
download | Surfer-c66d70933dbd80ec734f4986f92369ff1e549bbb.tar.gz Surfer-c66d70933dbd80ec734f4986f92369ff1e549bbb.tar.zst Surfer-c66d70933dbd80ec734f4986f92369ff1e549bbb.zip |
add mov and avi filetypes as videos
Diffstat (limited to 'frontend')
-rw-r--r-- | frontend/js/app.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/js/app.js b/frontend/js/app.js index c1a63a9..be5705f 100644 --- a/frontend/js/app.js +++ b/frontend/js/app.js | |||
@@ -60,7 +60,7 @@ var mimeTypes = { | |||
60 | text: [ '.txt', '.md' ], | 60 | text: [ '.txt', '.md' ], |
61 | pdf: [ '.pdf' ], | 61 | pdf: [ '.pdf' ], |
62 | html: [ '.html', '.htm', '.php' ], | 62 | html: [ '.html', '.htm', '.php' ], |
63 | video: [ '.mp4', '.mpg', '.mpeg', '.ogg', '.mkv' ] | 63 | video: [ '.mp4', '.mpg', '.mpeg', '.ogg', '.mkv', '.avi', '.mov' ] |
64 | }; | 64 | }; |
65 | 65 | ||
66 | function getPreviewUrl(entry, basePath) { | 66 | function getPreviewUrl(entry, basePath) { |