PierfrancescoSoffritti / android-youtube-player

YouTube Player library for Android and Chromecast, stable and customizable.
https://pierfrancescosoffritti.github.io/android-youtube-player/
MIT License
3.44k stars 765 forks source link

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

Open pooya-mohammadhossein opened 6 months ago

pooya-mohammadhossein commented 6 months ago

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