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

If the mini player is not closed, the next video is not played. 1 bug and 2 same error (different buttons) #6787

Closed
3 tasks done
Figim opened this issue Nov 19, 2024 · 0 comments · Fixed by #6821
Closed
3 tasks done
Labels
bug Something isn't working

Comments

@Figim
Copy link

Figim commented Nov 19, 2024

Steps to reproduce

  1. Play video
  2. Don't close the mini player
  3. Play another video

**_4.

The player freezes and an error occurs when pressing the audio button. Also, an error occurs when pressing the play button on the mini player

**.

_**

FATAL EXCEPTION: main
Process: com.github.libretube.debug, PID: 6187
kotlin.UninitializedPropertyAccessException: lateinit property playerController has not been initialized
at com.github.libretube.ui.fragments.PlayerFragment.initializeOnClickActions$lambda$8(PlayerFragment.kt:569)
at com.github.libretube.ui.fragments.PlayerFragment.$r8$lambda$ULa9Yoty3AZoHvLnzOhsuhqdx1s(Unknown Source:0)
at com.github.libretube.ui.fragments.PlayerFragment$$ExternalSyntheticLambda19.onClick(D8$$SyntheticClass:0)
at android.view.View.performClick(View.java:7792)
at android.view.View.performClickInternal(View.java:7769)
at android.view.View.access$3800(View.java:910)
at android.view.View$PerformClick.run(View.java:30218)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:226)
at android.os.Looper.loop(Looper.java:313)
at android.app.ActivityThread.main(ActivityThread.java:8669)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135)

Expected behavior

Play the next video when the mini player is open. That is, the current video continues and the player is active

Don't show error when clicking audio button in player if video doesn't load

If it doesn't open, don't show an error when you press the play button on the mini player

Actual behavior

XRecorder_19112024_151501.mp4

LibreTube version

0.26.0 Debug

Android version

All

Other details

.

Acknowledgements

  • I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
  • I have written a short but informative title.
  • I will fill out all of the requested information in this form.
@Figim Figim added the bug Something isn't working label Nov 19, 2024
@Figim Figim changed the title If the mini player is not closed, the next video is not played If the mini player is not closed, the next video is not played. 1 bug and 2 error Nov 21, 2024
@Figim Figim changed the title If the mini player is not closed, the next video is not played. 1 bug and 2 error If the mini player is not closed, the next video is not played. 1 bug and 2 same error (different buttons) Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant