aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/templates
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2020-05-27 11:55:47 -0700
committerJames Taylor <user234683@users.noreply.github.com>2020-05-27 11:55:47 -0700
commitd7a4b03fdf100e87bd2efbf83b33165d68ba770e (patch)
treee59b8ec2c9dec7bcf6ba1ead4f9706c7069bf5ed /youtube/templates
parent3d5293ba4a7e5097ed444d6ce8687c7ca49befb3 (diff)
downloadyt-local-d7a4b03fdf100e87bd2efbf83b33165d68ba770e.tar.lz
yt-local-d7a4b03fdf100e87bd2efbf83b33165d68ba770e.tar.xz
yt-local-d7a4b03fdf100e87bd2efbf83b33165d68ba770e.zip
Add option for reloading video without invidious
For faster usage of new identity button as an alternative
Diffstat (limited to 'youtube/templates')
-rw-r--r--youtube/templates/watch.html9
1 files changed, 8 insertions, 1 deletions
diff --git a/youtube/templates/watch.html b/youtube/templates/watch.html
index 2fac91e..c722115 100644
--- a/youtube/templates/watch.html
+++ b/youtube/templates/watch.html
@@ -288,7 +288,14 @@
{% block main %}
{% if playability_error %}
- <div class="playability-error"><span>{{ 'Error: ' + playability_error }}</span></div>
+ <div class="playability-error">
+ <span>{{ 'Error: ' + playability_error }}
+ {% if invidious_reload_button %}
+ <a href="{{ video_url }}&use_invidious=0"><br>
+Reload without invidious (for usage of new identity button).</a>
+ {% endif %}
+ </span>
+ </div>
{% else %}
<video controls autofocus class="video">
{% for video_source in video_sources %}