mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
feature(view) add support of webm (#256)
This commit is contained in:
parent
794caced01
commit
bb9fc8ba83
1 changed files with 1 additions and 1 deletions
|
|
@ -279,7 +279,7 @@ function isAudio(name) {
|
|||
}
|
||||
|
||||
function isVideo(name) {
|
||||
return /\.(mp4|avi)$/i.test(name);
|
||||
return /\.(mp4|avi|webm)$/i.test(name);
|
||||
}
|
||||
|
||||
const isPDF = (name) => /\.(pdf)$/i.test(name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue