Skip to content

Commit 62af18e

Browse files
Fix /youtube deep links playing playlist first (#632)
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
1 parent 04d1118 commit 62af18e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

app/routes/youtube.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,9 @@ export default function YouTubePage() {
9494
params={new URLSearchParams({
9595
rel: '0',
9696
modestbranding: '1',
97-
list: playlistId,
97+
// Do not include the configured playlist when deep-linking to a
98+
// specific video. If the video is not in the playlist, YouTube will
99+
// fall back to playing the first playlist entry instead.
98100
...(startSeconds ? { start: String(startSeconds) } : {}),
99101
}).toString()}
100102
/>

0 commit comments

Comments
 (0)