From 2c56a2471111eea67177849bd814ad42256b2964 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Wed, 23 Jun 2021 15:35:01 -0500 Subject: fix name id of video --- youtube/templates/watch.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'youtube') 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(); } -- cgit v1.2.3