diff --git a/src/modules/processing/matchActionDecider.js b/src/modules/processing/matchActionDecider.js index fb469386..37f510f0 100644 --- a/src/modules/processing/matchActionDecider.js +++ b/src/modules/processing/matchActionDecider.js @@ -101,7 +101,7 @@ export default function(r, host, userFormat, isAudioOnly, lang, isAudioMuted, di switch (host) { case "videoclip": if (r.urls.endsWith(".m3u8")) { - params = { type: "render" } + params = { type: "stream" } } else { responseType = "redirect"; } diff --git a/src/modules/processing/services/videoclip.js b/src/modules/processing/services/videoclip.js index f18f48c3..a25a5f73 100644 --- a/src/modules/processing/services/videoclip.js +++ b/src/modules/processing/services/videoclip.js @@ -22,6 +22,7 @@ export default async function({ id }) { if (videoSource) { return { urls: "https://www." + videoSource, + isM3U8: videoSource.endsWith(".m3u8"), filename: `videoclip_${modifiedId}.mp4`, audioFilename: `videoclip_${modifiedId}_audio` }