mirror of
https://github.com/imputnet/cobalt.git
synced 2024-12-26 17:46:06 +00: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 = {
|
||||
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") {
|
||||
responseType = "redirect";
|
||||
|
|
Loading…
Reference in a new issue