From 28a2e8c90026105bf32ddf0b933521cb70535106 Mon Sep 17 00:00:00 2001 From: girst Date: Tue, 31 Oct 2023 12:59:48 +0000 Subject: [PATCH] add piped.video link to watch and error pages using the legacy piped.kavin.rocks endpoint to avoid having to load "3rd party" javascript/payloads, since both it and piped.video make api calls to: - pipedapi.kavin.rocks - pipedproxy.kavin.rocks - pipedproxy-cdg.kavin.rocks --- app/youtube/templates/video-error.html.j2 | 2 +- app/youtube/templates/watch.html.j2 | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/youtube/templates/video-error.html.j2 b/app/youtube/templates/video-error.html.j2 index 76580b2..4c3c225 100644 --- a/app/youtube/templates/video-error.html.j2 +++ b/app/youtube/templates/video-error.html.j2 @@ -9,6 +9,6 @@
- {{ errdetails }} Watch on Invidious or Youtube + {{ errdetails }} Watch on Invidious, Piped.video or Youtube
{% endblock %} diff --git a/app/youtube/templates/watch.html.j2 b/app/youtube/templates/watch.html.j2 index 891fa64..8ec34b8 100644 --- a/app/youtube/templates/watch.html.j2 +++ b/app/youtube/templates/watch.html.j2 @@ -72,7 +72,7 @@ var sha256=function a(b){function c(a,b){return a>>>b|a<<32-b}for(var d,e,f=Math {% if video_error %}
- {{ errdetails }} Watch on Invidious or Youtube + {{ errdetails }} Watch on Invidious, Piped.video or Youtube
{% endif %} @@ -134,6 +134,7 @@ var sha256=function a(b){function c(a,b){return a>>>b|a<<32-b}for(var d,e,f=Math
  • {{ macros.emoji_link("json", video_id, True) }}
  • {{ macros.emoji_link("meta", video_id, True) }}
  • {{ macros.emoji_link("iv", video_id, True) }} + | piped
  • {{ macros.emoji_link("yt", video_id, True) }} | embed -- 2.39.3