mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-05 02:39:46 +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(){
|
function isAutoplayEnabled(){
|
||||||
if ((typeof isEmbed === 'undefined' || !isEmbed) && typeof Cookies.get('autoplay') !== 'undefined' && Cookies.get('autoplay')) {
|
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;
|
return true;
|
||||||
}else{
|
}else{
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue