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

The issue arises when the first video in the playlist is scheduled, then freeze (even with Latest) Library as I would prefer it to automatically skip the scheduled video and proceed to the next one #1101

Closed pooya-mohammadhossein closed 9 months ago

pooya-mohammadhossein commented 9 months ago

@PierfrancescoSoffritti I have utilized a library for playing YouTube videos, and it has been functioning adequately. However, I have encountered a minor bug even in the latest version (12.1.0). The issue arises when the first video in the playlist is scheduled, the black screen would shown and freeze but as I would prefer it to automatically skip the scheduled video and proceed to the next one. I appreciate your ongoing efforts and support. Thank you. Kind regards

  ```

youTubePlayerView = findViewById(R.id.youtube_player_view); IFramePlayerOptions iFramePlayerOptions = new IFramePlayerOptions.Builder() .controls(1) .listType("playlist") .list(PLAYLIST_ID) .build();

    getLifecycle().addObserver(youTubePlayerView);
    youTubePlayerView.initialize(youtubePlayerListener, true, iFramePlayerOptions);
pooya-mohammadhossein commented 9 months ago

@PierfrancescoSoffritti This has been fixed. Please Close it . Thanks, Kindest Regards, Pooya