Add option for reloading video without invidious

For faster usage of new identity button as an alternative
This commit is contained in:
James Taylor
2020-05-27 11:55:47 -07:00
parent 3d5293ba4a
commit d7a4b03fdf
2 changed files with 54 additions and 38 deletions

View File

@@ -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 %}