fix name id of video
This commit is contained in:
parent
61b4518335
commit
2c56a24711
@ -273,9 +273,9 @@
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
const vid = document.getElementById('js-video-player');
|
||||||
if(!playability_error){
|
if(!playability_error){
|
||||||
// play the video if autoplay is on
|
// play the video if autoplay is on
|
||||||
let vid = document.querySelector('video');
|
|
||||||
if(autoplayEnabled){
|
if(autoplayEnabled){
|
||||||
vid.play();
|
vid.play();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user