diff options
Diffstat (limited to 'youtube')
-rw-r--r-- | youtube/templates/watch.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube/templates/watch.html b/youtube/templates/watch.html index 8a23cc4..dbc7e83 100644 --- a/youtube/templates/watch.html +++ b/youtube/templates/watch.html @@ -45,7 +45,7 @@ {% if time_start != 0 %} <script> - document.querySelector('js-video-player').currentTime = {{ time_start|tojson }}; + document.getElementById('js-video-player').currentTime = {{ time_start|tojson }}; </script> {% endif %} {% endif %} |