diff --git a/src/invidious/views/watch.ecr b/src/invidious/views/watch.ecr index 43d9fe82..5daf211e 100644 --- a/src/invidious/views/watch.ecr +++ b/src/invidious/views/watch.ecr @@ -30,7 +30,7 @@ var video_data = { id: '<%= video.id %>', plid: '<%= plid %>', - length_seconds: '<%= video.info["length_seconds"].to_f %>', + length_seconds: <%= video.info["length_seconds"].to_f %>, play_next: <%= !rvs.empty? && !plid && params.continue %>, next_video: '<%= rvs.select { |rv| rv["id"]? }[0]?.try &.["id"] %>', youtube_comments_text: '<%= HTML.escape(translate(locale, "View YouTube comments")) %>',