diff options
author | Jesús <heckyel@hyperbola.info> | 2021-06-23 15:35:01 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2021-06-23 15:35:01 -0500 |
commit | 2c56a2471111eea67177849bd814ad42256b2964 (patch) | |
tree | 5cabb823b2a0635989abf829ade65d33ca67cbfb | |
parent | 61b45183352754a9174a75f0ee8600ffb261bb97 (diff) | |
download | yt-local-2c56a2471111eea67177849bd814ad42256b2964.tar.lz yt-local-2c56a2471111eea67177849bd814ad42256b2964.tar.xz yt-local-2c56a2471111eea67177849bd814ad42256b2964.zip |
fix name id of video
-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 8a2949e..a59b54a 100644 --- a/youtube/templates/watch.html +++ b/youtube/templates/watch.html @@ -273,9 +273,9 @@ } }); + const vid = document.getElementById('js-video-player'); if(!playability_error){ // play the video if autoplay is on - let vid = document.querySelector('video'); if(autoplayEnabled){ vid.play(); } |