add 3gp to supported video formats

This commit is contained in:
tibbi 2017-02-27 20:22:01 +01:00
parent 812a3da40d
commit 26e512c765

View file

@ -25,7 +25,7 @@ fun String.isAValidFilename(): Boolean {
} }
val String.photoExtensions: Array<String> get() = arrayOf(".jpg", ".png", ".jpeg", ".bmp", ".webp") val String.photoExtensions: Array<String> get() = arrayOf(".jpg", ".png", ".jpeg", ".bmp", ".webp")
val String.videoExtensions: Array<String> get() = arrayOf(".mp4", ".mkv", ".webm", ".avi") val String.videoExtensions: Array<String> get() = arrayOf(".mp4", ".mkv", ".webm", ".avi", ".3gp")
fun String.isImageVideoGif() = isImageFast() || isVideoFast() || isGif() fun String.isImageVideoGif() = isImageFast() || isVideoFast() || isGif()