Add support for &t parameter

This commit is contained in:
James Taylor
2020-07-25 21:25:23 -07:00
parent a7ff3a5217
commit e78d239323
2 changed files with 13 additions and 0 deletions

View File

@@ -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">