From 309ff409436a5a016c33f71f8b483d9ed226aaaf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Sun, 29 Aug 2021 22:43:10 -0500 Subject: watch.html: Move loose inline javascript into watch.js The number of inline code blocks and the dependencies between them became unmanageable. From 9d96c07a3c2e68f1893634574c3be64e41a2c041 Mon Sep 17 00:00:00 2001 From: James Taylor --- youtube/templates/watch.html | 219 +------------------------------------------ 1 file changed, 4 insertions(+), 215 deletions(-) (limited to 'youtube/templates/watch.html') diff --git a/youtube/templates/watch.html b/youtube/templates/watch.html index 4b2aa50..5b0fce5 100644 --- a/youtube/templates/watch.html +++ b/youtube/templates/watch.html @@ -54,49 +54,6 @@ {% endfor %} - - - - {% if using_pair_sources %} - - - {% endif %} - - {% if time_start != 0 %} - - {% endif %} {% endif %}
@@ -125,7 +82,6 @@
- -
@@ -212,7 +161,7 @@

{{ playlist['title'] }}

{% elif settings.related_videos_mode != 0 %} - - {% endif %} - - {% if settings.related_videos_mode != 0 or playlist %} - + {% endif %} - {% if subtitle_sources %}
@@ -448,6 +235,8 @@
+ + {% if settings.use_video_player == 2 %} -- cgit v1.2.3