mirror of
https://github.com/wukko/cobalt.git
synced 2025-01-13 04:35:28 +01:00
fix the order
This commit is contained in:
parent
a59ecd14e7
commit
9d590a64dc
1 changed files with 4 additions and 4 deletions
|
@ -13,11 +13,11 @@ export default function(r, host, audioFormat, isAudioOnly, lang, isAudioMuted) {
|
||||||
},
|
},
|
||||||
params = {}
|
params = {}
|
||||||
|
|
||||||
if (r.picker) action = "picker"
|
if (r.isPhoto) action = "photo";
|
||||||
else if (r.isPhoto) action = "photo";
|
else if (r.picker) action = "picker"
|
||||||
else if (r.isM3U8) action = "singleM3U8";
|
|
||||||
else if (isAudioOnly) action = "audio";
|
|
||||||
else if (isAudioMuted) action = "muteVideo";
|
else if (isAudioMuted) action = "muteVideo";
|
||||||
|
else if (isAudioOnly) action = "audio";
|
||||||
|
else if (r.isM3U8) action = "singleM3U8";
|
||||||
else action = "video";
|
else action = "video";
|
||||||
|
|
||||||
if (action === "picker" || action === "audio") {
|
if (action === "picker" || action === "audio") {
|
||||||
|
|
Loading…
Reference in a new issue