浏览代码

fix(mobile): accept video as shared content

Close #10792
Andelf 1 年之前
父节点
当前提交
47018a45bf
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/frontend/config.cljs

+ 1 - 1
src/main/frontend/config.cljs

@@ -124,7 +124,7 @@
 (def video-formats
 (def video-formats
   #{:mp4 :webm :mov :flv :avi :mkv})
   #{:mp4 :webm :mov :flv :avi :mkv})
 
 
-(def media-formats (set/union (gp-config/img-formats) audio-formats))
+(def media-formats (set/union (gp-config/img-formats) audio-formats video-formats))
 
 
 (defn extname-of-supported?
 (defn extname-of-supported?
   ([input] (extname-of-supported?
   ([input] (extname-of-supported?