yt-android-player icon indicating copy to clipboard operation
yt-android-player copied to clipboard

YouTubeStandalonePlayer.createVideoIntent Showing black screen

Open saranyams9813 opened this issue 3 years ago • 0 comments

I have implemented youtube video playing through YouTubeStandalonePlayer.createVideoIntent. For the first time immediately after the installation of the app, youtube video is playing . But from the next time onwards StandalonePlayerActivity is blank showing a black screen. When I put my app in the background and resume again then the video starts playing

Code implementaion Intent intent = YouTubeStandalonePlayer.createVideoIntent(activity, BuildConfig.YOUTUBE_API_KEY, videoId); activity?.startActivity(intent);

saranyams9813 avatar May 20 '21 09:05 saranyams9813