Skip to content
This repository was archived by the owner on May 27, 2022. It is now read-only.
This repository was archived by the owner on May 27, 2022. It is now read-only.

YouTubeStandalonePlayer.createVideoIntent Showing black screen  #27

@saranyams9813

Description

@saranyams9813

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions