chore: setting video url instead of video id in fetchSiblings

This commit is contained in:
Kingkor Roy Tirtho 2025-02-08 22:29:07 +06:00
parent b1b7d0fda7
commit f270b2ebb9

View File

@ -252,7 +252,9 @@ class YoutubeSourcedTrack extends SourcedTrack {
await toSiblingType(
0,
YoutubeVideoInfo.fromVideo(
await ref.read(youtubeEngineProvider).getVideo(ytLink!.url!),
await ref.read(youtubeEngineProvider).getVideo(
Uri.parse(ytLink!.url!).queryParameters["v"]!,
),
),
ref,
)