Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Popup playback takes a significant amount of time to load the video. #8160

Open
5 tasks done
netizeni opened this issue Apr 6, 2022 · 5 comments
Open
5 tasks done
Labels
bug Issue is related to a bug

Comments

@netizeni
Copy link

netizeni commented Apr 6, 2022

Checklist

  • I am able to reproduce the bug with the latest version.
  • I made sure that there are no existing issues - open or closed - which I could contribute my information to.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.

Affected version

0.22.1

Steps to reproduce the bug

Play any video in popup mode.

Expected behavior

Video starts playing after a couple seconds.

Actual behavior

Video starts playing after 25+ seconds.

Screenshots/Screen recordings

No response

Logs

No response

Affected Android/Custom ROM version

Android 9

Affected device model

Samsung S8

Additional information

I noticed this before the current latest version (I'm not sure when exactly), but I always thought it's due to my internet. Today I saw that playing any video by clicking on it or playing any video in the background takes only a couple seconds to load and start playing, meanwhile when I pick to play in the popup, it always takes 25+ seconds after which it starts playing.

@netizeni netizeni added the bug Issue is related to a bug label Apr 6, 2022
@ghost
Copy link

ghost commented Apr 7, 2022

Might be the duplicate of #7630
If so, it's already fixed. Just need to wait for the next update, donno when that is.

@netizeni
Copy link
Author

netizeni commented Apr 7, 2022

I saw that issue you opened, but I'm not sure is it a duplicate. In my case, opening a video normally or in a background takes only a couple of seconds to start playing.

If no other options, guess I will wait for the next update and see if it will help.

@NanyangTaiji
Copy link

In comparing to SkyTube, the loading take much more times for almost all videos. It did not happen before.

@blackholeearth
Copy link

blackholeearth commented May 4, 2022

This is present in v23 too. The problem cant be fixed, by reducing buffer size alone. In this case.

when watching videos, Player is trying to download
In this order ;

  1. comments,
  2. related videos
  3. video title description video cover image
    ***Wait all of them to load ***
  4. Then video starts to download. And play.

Solution is:

  1. video starts to download. And play.
    *** Wait until video buffer at least 30sec or 1min. User can watch the start.
  2. comments,
  3. related videos
  4. video title description video cover image

Note:This just observation, didnt checked the source code.

@opusforlife2
Copy link
Collaborator

Player is trying to download
In this order ;

From what I remember, they are fetched in parallel. The smaller stuff just loads faster, for obvious reasons.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue is related to a bug
Projects
None yet
Development

No branches or pull requests

4 participants