diff options
Diffstat (limited to 'src/invidious/views/watch.ecr')
-rw-r--r-- | src/invidious/views/watch.ecr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/invidious/views/watch.ecr b/src/invidious/views/watch.ecr index a1239383..f8882c6e 100644 --- a/src/invidious/views/watch.ecr +++ b/src/invidious/views/watch.ecr | |||
@@ -30,7 +30,7 @@ | |||
30 | var video_data = { | 30 | var video_data = { |
31 | id: '<%= video.id %>', | 31 | id: '<%= video.id %>', |
32 | plid: '<%= plid %>', | 32 | plid: '<%= plid %>', |
33 | length_seconds: <%= video.info["length_seconds"].to_f %>, | 33 | length_seconds: <%= video.length_seconds.to_f %>, |
34 | play_next: <%= !rvs.empty? && !plid && params.continue %>, | 34 | play_next: <%= !rvs.empty? && !plid && params.continue %>, |
35 | next_video: '<%= rvs.select { |rv| rv["id"]? }[0]?.try &.["id"] %>', | 35 | next_video: '<%= rvs.select { |rv| rv["id"]? }[0]?.try &.["id"] %>', |
36 | youtube_comments_text: '<%= HTML.escape(translate(locale, "View YouTube comments")) %>', | 36 | youtube_comments_text: '<%= HTML.escape(translate(locale, "View YouTube comments")) %>', |