1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-05 19:42:38 +02:00
This commit is contained in:
DanielnetoDotCom 2020-11-10 17:14:34 -03:00
parent d2a01693f8
commit 63ec7b0211

View file

@ -756,7 +756,7 @@ function setCurrentTime(currentTime) {
function isAutoplayEnabled() {
console.log("Cookies.get('autoplay')", Cookies.get('autoplay'));
if(isLive){
if(typeof isLive !== 'undefined' && isLive){
console.log("isAutoplayEnabled always autoplay live contents");
return true;
}else