aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/templates
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2021-06-23 15:35:01 -0500
committerJesús <heckyel@hyperbola.info>2021-06-23 15:35:01 -0500
commit2c56a2471111eea67177849bd814ad42256b2964 (patch)
tree5cabb823b2a0635989abf829ade65d33ca67cbfb /youtube/templates
parent61b45183352754a9174a75f0ee8600ffb261bb97 (diff)
downloadyt-local-2c56a2471111eea67177849bd814ad42256b2964.tar.lz
yt-local-2c56a2471111eea67177849bd814ad42256b2964.tar.xz
yt-local-2c56a2471111eea67177849bd814ad42256b2964.zip
fix name id of video
Diffstat (limited to 'youtube/templates')
-rw-r--r--youtube/templates/watch.html2
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();
}