pierfrancescosoffritti/android-youtube-player

YouTube Player library for Android and Chromecast, stable and customizable.

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 37 minutes ago
Type:Library / SDKCategory(s):AndroidMobile & Desktop
Added to GitGenius on September 18th, 2026
Created on August 29th, 2016
Open Issues & Pull Requests: 254 (+0)
GitHub issues: Enabled
Number of forks: 796
Total Stargazers: 3,700 (+0)
Total Subscribers: 86 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 3.6 hours
Mean response time: 15.5 days
90th percentile: 46.4 hours
Tracked items: 134

Most active contributors

Sign in to see contributor activity.

How this project is maintained

Practically every issue opened in the past year has drawn a reply. 98% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. 83% of issues opened in the past year have been closed, leaving a working backlog. Three people close 87% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 40
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 648 days
Stale 30+ days: 40
Stale 90+ days: 39

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • question (85)
  • bug (31)
  • enhancement (14)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

android-youtube-player is a stable and customizable open source YouTube player library for Android that wraps the IFrame Player API inside a WebView.

The library solves the problem of reliably playing YouTube videos on Android following Google's deprecation of the official YouTube Android Player API. It wraps Google's IFrame Player API, which runs inside a WebView, and exposes it through a native Java and Kotlin interface. This approach ensures compliance with YouTube's terms of service because it uses YouTube's own web player rather than attempting direct video access. The library also includes a Chromecast extension that enables casting YouTube videos from an app to Chromecast devices.

Developers should choose this tool if they need a straightforward way to embed YouTube playback in Android activities or fragments without managing the complexity of the IFrame API directly. The library provides a simple View that integrates easily into existing layouts. It suits any Android project requiring YouTube video playback, from small feature additions to media-heavy applications. The tool is particularly valuable for projects that previously relied on Google's deprecated official API and need a maintained alternative.

The project maintains active engagement with its user base through documentation and support channels. Development includes regular updates to address compatibility issues and maintain alignment with YouTube's platform changes. The codebase is written in Kotlin, reflecting modern Android development practices. The project accepts community contributions and maintains transparency about its development direction through its public repository and documentation site.