From d32ef6ed9ae88db294a8c232c65018a65f1b4abc Mon Sep 17 00:00:00 2001 From: Jorrin Date: Wed, 10 Jan 2024 19:43:54 +0100 Subject: [PATCH] fix extension not preparing stream on embed selection --- src/components/player/hooks/useSourceSelection.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/player/hooks/useSourceSelection.ts b/src/components/player/hooks/useSourceSelection.ts index b9e167d6..3016e332 100644 --- a/src/components/player/hooks/useSourceSelection.ts +++ b/src/components/player/hooks/useSourceSelection.ts @@ -72,6 +72,7 @@ export function useEmbedScraping( report([ scrapeSourceOutputToProviderMetric(meta, sourceId, null, "success", null), ]); + await prepareStream(result.stream[0]); setSourceId(sourceId); setCaption(null); setSource(