Skip to content

Instantly share code, notes, and snippets.

@PierfrancescoSoffritti
Created February 11, 2019 19:03
Show Gist options
  • Save PierfrancescoSoffritti/503eefb77536d0f9194647b0e4293dff to your computer and use it in GitHub Desktop.
Save PierfrancescoSoffritti/503eefb77536d0f9194647b0e4293dff to your computer and use it in GitHub Desktop.
android-youtube-player, an open source alternative to the official YouTube Player API: https://medium.com/@soffritti.pierfrancesco/how-to-play-youtube-videos-in-your-android-app-c40427215230
YouTubePlayerView youTubePlayerView = findViewById(R.id.youtube_player_view);
getLifecycle().addObserver(youTubePlayerView);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment