mirror of
https://github.com/wukko/cobalt.git
synced 2025-05-29 13:00:12 +02:00
api/match-action: pass isHLS when muting audio
fixes a bug where HLS status would be ignored if a muted video was downloaded with HLS enabled
This commit is contained in:
parent
4cdbb02de2
commit
1ed7e74773
@ -68,7 +68,8 @@ export default function({ r, host, audioFormat, isAudioOnly, isAudioMuted, disab
|
|||||||
}
|
}
|
||||||
params = {
|
params = {
|
||||||
type: muteType,
|
type: muteType,
|
||||||
url: Array.isArray(r.urls) ? r.urls[0] : r.urls
|
url: Array.isArray(r.urls) ? r.urls[0] : r.urls,
|
||||||
|
isHLS: r.isHLS
|
||||||
}
|
}
|
||||||
if (host === "reddit" && r.typeId === "redirect") {
|
if (host === "reddit" && r.typeId === "redirect") {
|
||||||
responseType = "redirect";
|
responseType = "redirect";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user