The android-youtube-player library is a stable and customizable open source YouTube player for Android. It provides a simple View that can be easily integrated in every Activity/Fragment.
The interaction with YouTube is based on the IFrame Player API, running inside of a WebView, therefore the YouTube app is not required to be installed on the user's device.
The web UI of the IFrame Player player is hidden, instead a native UI built on top of Android is used to interact with the player, providing a native experience to the users.
Visit the GitHub page at this url: https://github.com/PierfrancescoSoffritti/android-youtube-player
This app doesn't have any affiliation with YouTube, the company. YouTube and the YouTube logo, trademark and trade dress are registered trademarks owned by Google Inc.
v 10.0.0
This is a major update, upgrading from an older version will break backward compatibility.
Most notably, now YouTubePlayerView:
* Supports custom attributes, to configure it directly from the XML. It is now possible to play a video without writing a single line of Java/Kotlin code.
* Can manage its initialization internally.
* Can be easily used with the web-based UI instead of the native UI.
Please read version 10.0.0 release notes on GitHub to see more details about what's new.