// ---------------------------------------------------------------------------
-const LAST_MIGRATION_VERSION = 525
+const LAST_MIGRATION_VERSION = 530
// ---------------------------------------------------------------------------
'audio/x-ms-wma': '.wma',
'audio/wav': '.wav',
'audio/x-flac': '.flac',
- 'audio/flac': '.flac'
+ 'audio/flac': '.flac',
+ '‎audio/aac': '.aac',
+ 'audio/ac3': '.ac3'
},
EXT_MIMETYPE: null as { [ id: string ]: string }
},
}
const LAZY_STATIC_PATHS = {
AVATARS: '/lazy-static/avatars/',
- PREVIEWS: '/static/previews/',
- VIDEO_CAPTIONS: '/static/video-captions/'
+ PREVIEWS: '/lazy-static/previews/',
+ VIDEO_CAPTIONS: '/lazy-static/video-captions/'
}
// Cache control
'video/x-matroska': '.mkv',
// Developed by Apple
- 'video/quicktime': '.mov', // often used as output format by editing software
+ 'video/quicktime': [ '.mov', '.qt', '.mqv' ], // often used as output format by editing software
'video/x-m4v': '.m4v',
'video/m4v': '.m4v',
// Developed by 3GPP
// common video formats for cell phones
- 'video/3gpp': '.3gp',
- 'video/3gpp2': '.3g2',
+ 'video/3gpp': [ '.3gp', '.3gpp' ],
+ 'video/3gpp2': [ '.3g2', '.3gpp2' ],
// Developed by FFmpeg/Mplayer
'application/x-nut': '.nut',
// Old formats reliant on MPEG-1/MPEG-2
'video/mpv': '.mpv',
'video/mpeg2': '.m2v',
- 'video/mpeg': '.mpeg',
+ 'video/mpeg': [ '.m1v', '.mpg', '.mpe', '.mpeg', '.vob' ],
+ 'video/dvd': '.vob',
// Could be anything
'application/octet-stream': null,
jsl: true, // Japanese sign language
sfs: true, // South African sign language
swl: true, // Swedish sign language
- rsl: true, // Russian sign language: true
+ rsl: true, // Russian sign language
+
+ kab: true, // Kabyle
epo: true, // Esperanto
tlh: true, // Klingon