mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-05 19:42:38 +02:00
Fix infinity scrool
This commit is contained in:
parent
949a59f19c
commit
b80e8d3087
1 changed files with 8 additions and 1 deletions
|
@ -56,6 +56,13 @@
|
|||
lazyImage();
|
||||
avideoSocket();
|
||||
}, 1000);
|
||||
<?php
|
||||
if ($obj->playVideoOnFullscreenOnIframe) {
|
||||
echo "if(typeof linksToFullscreen === 'function'){ linksToFullscreen('a.galleryLink');}";
|
||||
} else if (!empty($obj->playVideoOnFullscreen)) {
|
||||
echo "if(typeof linksToEmbed === 'function'){ linksToEmbed('a.galleryLink');}";
|
||||
}
|
||||
?>
|
||||
});
|
||||
$container$uid.on('error.infiniteScroll', function (event, error, path, response) {
|
||||
console.error(`infiniteScroll Could not load: ${path}. ${error}`);
|
||||
|
@ -65,7 +72,7 @@
|
|||
});
|
||||
$container$uid.on('history.infiniteScroll', function (event, title, path) {
|
||||
console.log(`infiniteScroll History changed to: ${path}`);
|
||||
});
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue