Skip to content

Commit

Permalink
Add more check if mp4
Browse files Browse the repository at this point in the history
  • Loading branch information
walokra committed Dec 18, 2020
1 parent 8e5c08c commit ff22a52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qml/pages/GalleryContentDelegate.qml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Item {

if (animated === false) {
imageLoader.active = true;
} else if ((type === "image/gif" || (mp4 !== "")) && settings.useVideoLoader === true) {
} else if ((type === "image/gif" || type === "video/mp4" || (mp4 !== "")) && settings.useVideoLoader === true) {
// If gifv video is under maxGifSize, use animatedImage (smoother)
if (size && size.indexOf("MiB") > -1) {
var sizeNo = size.replace(" MiB", "");
Expand Down

0 comments on commit ff22a52

Please sign in to comment.