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
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:
Kindest and Warm Regards, Cheers! Sincerely! All the Best! Pooya M Pooya Mohammadhossein