aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/templates
diff options
context:
space:
mode:
Diffstat (limited to 'youtube/templates')
-rw-r--r--youtube/templates/watch.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/youtube/templates/watch.html b/youtube/templates/watch.html
index 4041144..01ae8cb 100644
--- a/youtube/templates/watch.html
+++ b/youtube/templates/watch.html
@@ -341,6 +341,11 @@ Reload without invidious (for usage of new identity button).</a>
{% endfor %}
</video>
+ {% if time_start != 0 %}
+ <script>
+ document.querySelector('video').currentTime = {{ time_start|tojson }};
+ </script>
+ {% endif %}
{% endif %}
<div class="video-info">