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
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);