fix name id of video

This commit is contained in:
Jesús 2021-06-23 15:35:01 -05:00
parent 61b4518335
commit 2c56a24711
No known key found for this signature in database
GPG Key ID: F6EE7BC59A315766

View File

@ -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();
}