mirror of
https://github.com/wukko/cobalt.git
synced 2025-02-08 19:56:34 +01: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
1 changed files with 2 additions and 1 deletions
|
@ -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…
Reference in a new issue