Skip to content

Commit ef4143b

Browse files
committed
Moved the check for video to within ImageUtils
1 parent ec04675 commit ef4143b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WordPressUtils/src/main/java/org/wordpress/android/util/MediaUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public static boolean isVideo(String url) {
6868
}
6969
return url.endsWith(".ogv") || url.endsWith(".mp4") || url.endsWith(".m4v") || url.endsWith(".mov") ||
7070
url.endsWith(".wmv") || url.endsWith(".avi") || url.endsWith(".mpg") || url.endsWith(".3gp") ||
71-
url.endsWith(".3g2");
71+
url.endsWith(".3g2") || url.contains("video");
7272
}
7373

7474
public static boolean isAudio(String url) {

0 commit comments

Comments
 (0)