diff --git a/src/invidious/helpers/errors.cr b/src/invidious/helpers/errors.cr index b072f934..ae9f4cdb 100644 --- a/src/invidious/helpers/errors.cr +++ b/src/invidious/helpers/errors.cr @@ -183,6 +183,8 @@ def error_redirect_helper(env : HTTP::Server::Context) go_to_youtube_embed = translate(locale, "videoinfo_youTube_embed_link") switch_instance = translate(locale, "Switch Invidious Instance") + show_embed_link = "(#{go_to_youtube_embed})" if env.params.query["v"]? + return <<-END_HTML

#{next_steps_text}

END_HTML