mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-05 19:42:38 +02:00
Ability to have category pages populate separate from the homepage
PPV now works per usergroup SecureDirectory now allow you only allow embeded whitelist pages, so im makes easier to youse as an OTT app
This commit is contained in:
parent
2cc8612149
commit
4826a6ec2e
31 changed files with 684 additions and 321 deletions
22
objects/functiongetPagination.php
Normal file
22
objects/functiongetPagination.php
Normal file
|
@ -0,0 +1,22 @@
|
|||
<div class="scroller-status$uid">
|
||||
<div class="infinite-scroll-request loader-ellips text-center">
|
||||
<i class="fas fa-spinner fa-pulse text-muted"></i>
|
||||
</div>
|
||||
</div>
|
||||
<script src="$webSiteRootURLview/js/infinite-scroll.pkgd.min.js" type="text/javascript"></script>
|
||||
<script>
|
||||
$(function () {
|
||||
$container$uid = $('$infinityScrollAppendIntoSelector').infiniteScroll({
|
||||
path: '.pagination__next$uid',
|
||||
append: '$infinityScrollGetFromSelector',
|
||||
status: '.scroller-status$uid',
|
||||
hideNav: '.infiniteScrollPagination$uid',
|
||||
prefill: false,
|
||||
history: false
|
||||
});
|
||||
$container$uid.on('append.infiniteScroll', function (event, response, path, items) {
|
||||
lazyImage();
|
||||
});
|
||||
|
||||
});
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue