TeamPiped / Piped

An alternative privacy-friendly YouTube frontend which is efficient by design.
https://piped.video
GNU Affero General Public License v3.0
8.19k stars 664 forks source link

Videos filtered by groups on feed page don't load #2924

Open Moonstone3010 opened 1 year ago

Moonstone3010 commented 1 year ago

Official Instance

Describe the bug

When you select a specific group of channels on the feed page, the videos are not loaded when you scroll down the screen.

To Reproduce

  1. Open the feed page (without scrolling to the bottom)
  2. Set the selected channel group.
  3. You can only see the list of videos that were visible before filtering the groups. Scrolling down does not load the collegiate videos to the monthly limit.
  4. To bypass this, you need to scroll down the screen in point 1 until the videos of the entire month appear, then switch the group.

Expected behavior

Selecting a channel group loads all videos from the last month assigned to that group.

Logs/Errors

No response

Browser, and OS with Version.

Firefox 117.0 on Win10

Additional context

No response

abuturabofficial commented 10 months ago

I'm having the same problem, though very few times loading does work in the channels group if one wait a little, but mostly it doesn't.

Facni commented 10 months ago

It works fine for me in Firefox 121, (Arch linux).

Moonstone3010 commented 10 months ago

I can confirm that it is currently working properly with Firefox 119. I'm not sure at what point the problem went away, whether it's related to Firefox updates or anything else.

Moonstone3010 commented 10 months ago

...aaaaaand problem is back. However, this is currently occurring less frequently, with videos loading correctly in most cases.

YoJames2019 commented 4 months ago

The problem is still there on the main instance.

When you first load the feed page, a certain amount of videos are loaded from the "all" group, and the only way to fetch more is by scrolling.

If you immediately switch to a group that only has a few videos that were fetched by this initial load, you will not be able to fetch more videos from this group because you cannot scroll down.

If there aren't enough videos loaded in a group for you to be able to scroll down, it will not fetch more even if you try to scroll down.

Example of a group that would exhibit this bug

Screenshot from 2024-05-09 21-39-26

However, if you switch to the "all" group and scroll down until there are enough videos fetched of the other group for the scrollbar to appear when you switch to it, it will now fetch new videos from that group when you scroll down.

Example of that same group after doing the step above (note the scrollbar now appears on the right)

Screenshot from 2024-05-09 21-35-42

(since fetching new videos is triggered by any scrolling, you can "bypass" this bug by zooming in your browser until you cant fit all the videos on the screen, in which case the scrollbar will show up, and scrolling will fetch new videos)

khusroohayat commented 4 months ago

for the above scenario what we need to do? can we show the load more button to load vides in this case

YoJames2019 commented 4 months ago

that would work perfectly