[go: nahoru, domu]

Skip to content

Commit

Permalink
Moved the check for video to within ImageUtils
Browse files Browse the repository at this point in the history
  • Loading branch information
AftonTroll committed Nov 23, 2015
1 parent 19786e0 commit 480fcb3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public static boolean isVideo(String url) {
}
return url.endsWith(".ogv") || url.endsWith(".mp4") || url.endsWith(".m4v") || url.endsWith(".mov") ||
url.endsWith(".wmv") || url.endsWith(".avi") || url.endsWith(".mpg") || url.endsWith(".3gp") ||
url.endsWith(".3g2");
url.endsWith(".3g2") || url.contains("video");
}

public static boolean isAudio(String url) {
Expand Down

0 comments on commit 480fcb3

Please sign in to comment.