소스 검색

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
   #{: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?
   ([input] (extname-of-supported?