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

Subject: Feature request: Re-initialization for playlist after activity lifecycle changes (version 12.1.0) #1146

Open
pooya-mohammadhossein opened this issue May 23, 2024 · 0 comments

Comments

@pooya-mohammadhossein
Copy link

Subject: Feature request: Re-initialization for playlist after activity lifecycle changes (version 12.1.0)

Hi,
I'm using version 12.1.0 of the android-youtube-player library and I've successfully implemented code using onDestroy to handle users navigating away from the Youtube activity and returning to resume watching a video.
However, I'd like to recommend a new feature for playlists. Currently, there's YouTubePlayerView.initialize but no equivalent YouTubePlayerView.reinitialize method especially for Youtube Playlists.
Feature request:

  • Implement a YouTubePlayerView.reinitialize method that allows developers to customize playlist behaviour when the activity goes through lifecycle changes (e.g., onDestroy and onResume). This would be particularly helpful for scenarios where users want to resume playback from their previous position within a playlist.
    This functionality would improve the user experience by allowing for seamless playlist continuation after app interruptions. If you have any more concerns and questions you are more than welcome to ask or contact me at any time.
    Additional notes:
  • I've been able to manage video playback using onDestroy, but a dedicated method for playlists would be a valuable addition.
  • Feel free to reach out if you have any questions or require further clarification.

Kindest and Warm Regards,
Cheers!
Sincerely!
All the Best!
Pooya M
Pooya Mohammadhossein

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

No branches or pull requests

2 participants