Skip to content

best way to save what you love

fix the order

wukko9d590a64dc3f
diff --git a/src/modules/processing/matchActionDecider.js b/src/modules/processing/matchActionDecider.js
index 3d96db62..c2db9176 100644
--- a/src/modules/processing/matchActionDecider.js
+++ b/src/modules/processing/matchActionDecider.js
@@ -13,11 +13,11 @@ export default function(r, host, audioFormat, isAudioOnly, lang, isAudioMuted) {
},
params = {}
- if (r.picker) action = "picker"
- else if (r.isPhoto) action = "photo";
- else if (r.isM3U8) action = "singleM3U8";
- else if (isAudioOnly) action = "audio";
+ if (r.isPhoto) action = "photo";
+ else if (r.picker) action = "picker"
else if (isAudioMuted) action = "muteVideo";
+ else if (isAudioOnly) action = "audio";
+ else if (r.isM3U8) action = "singleM3U8";
else action = "video";
if (action === "picker" || action === "audio") {