Skip to content

Commit f35f529

Browse files
committed
Videos: Fix missing .id to retrieve first playlist video ID (#5366)
2 parents b32b077 + b0c9f87 commit f35f529

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/invidious/routes/embed.cr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ module Invidious::Routes::Embed
2020
return error_template(500, ex)
2121
end
2222

23-
url = "/embed/#{first_playlist_video}?#{env.params.query}"
23+
url = "/embed/#{first_playlist_video.id}?#{env.params.query}"
2424

2525
if env.params.query.size > 0
2626
url += "?#{env.params.query}"

0 commit comments

Comments
 (0)