client: Stop showing mp4 files as undefined
This commit is contained in:
parent
cbf67587e2
commit
c8fe0fcdff
2 changed files with 2 additions and 0 deletions
|
@ -36,6 +36,7 @@
|
||||||
'image/jpeg': 'JPEG',
|
'image/jpeg': 'JPEG',
|
||||||
'image/png': 'PNG',
|
'image/png': 'PNG',
|
||||||
'video/webm': 'WEBM',
|
'video/webm': 'WEBM',
|
||||||
|
'video/mp4': 'MPEG-4',
|
||||||
'application/x-shockwave-flash': 'SWF',
|
'application/x-shockwave-flash': 'SWF',
|
||||||
}[ctx.post.mimeType] +
|
}[ctx.post.mimeType] +
|
||||||
' (' +
|
' (' +
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
'image/jpeg': 'JPEG',
|
'image/jpeg': 'JPEG',
|
||||||
'image/png': 'PNG',
|
'image/png': 'PNG',
|
||||||
'video/webm': 'WEBM',
|
'video/webm': 'WEBM',
|
||||||
|
'video/mp4': 'MPEG-4',
|
||||||
'application/x-shockwave-flash': 'SWF',
|
'application/x-shockwave-flash': 'SWF',
|
||||||
}[ctx.post.mimeType] %>
|
}[ctx.post.mimeType] %>
|
||||||
</a>
|
</a>
|
||||||
|
|
Loading…
Reference in a new issue