mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 17:59:55 +02:00
This commit is contained in:
parent
53e36f4865
commit
efeadbcdff
1 changed files with 1 additions and 1 deletions
|
@ -737,7 +737,7 @@ function setCurrentTime(currentTime) {
|
|||
|
||||
function isAutoplayEnabled(){
|
||||
if ((typeof isEmbed === 'undefined' || !isEmbed) && typeof Cookies.get('autoplay') !== 'undefined' && Cookies.get('autoplay')) {
|
||||
if(Cookies.get('autoplay') !== 'false'){
|
||||
if(Cookies.get('autoplay') === 'true' || Cookies.get('autoplay') == true){
|
||||
return true;
|
||||
}else{
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue