# PierfrancescoSoffritti/android-youtube-player

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

Repository: https://github.com/PierfrancescoSoffritti/android-youtube-player
Canonical: https://ross.abutalabs.com/products/android-youtube-player
Homepage: https://pierfrancescosoffritti.github.io/android-youtube-player/
Language: Kotlin
License: MIT
License Family: permissive
Topics: android, youtube, youtube-player, youtube-video, webview, android-youtube-player, youtubeplayerview, youtube-player-library, youtube-player-api, custom-view, chromecast-sender, chromecast-receiver, chromecast-support
Last push: 2026-06-15T06:17:05+00:00

## Health v2 (maintenance only)
Score: 65/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 87, release rhythm 16, longevity 100
- inputs: {"age_days": 3656, "days_push": 79, "days_rel": 346, "gap_med": 180.5, "n_releases_24m": 3}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3696, forks 793 (observed 2026-08-28T04:08:14.839464+00:00)

## What it is
A stable, customizable open-source YouTube player library for Android, providing a simple View that wraps the IFrame Player API inside a WebView with a native Java/Kotlin interface. It also includes a Chromecast extension for casting YouTube videos to Chromecast devices.

## Use cases
- play YouTube videos in an Android app
- embed a customizable YouTube player view in an Activity or Fragment
- cast YouTube videos to a Chromecast device
- replace the deprecated YouTube Android Player API
- control YouTube playback programmatically from Kotlin or Java

## When to choose
- you need to play YouTube videos in an Android app without violating YouTube Terms of Service
- Google's official YouTube Android Player API is deprecated and unreliable
- you want a stable, widely adopted player library with Chromecast support

## When to avoid
- you need to play local or non-YouTube video files
- you need offline video playback
- your app targets platforms other than Android

## Facets
- artifact type: library
- maturity: stable
- function: video-processing, ui-components
- domain: android-tools, media, mobile-development
- platform: -
- tags: youtube-player, webview, chromecast, iframe-player-api, custom-view, kotlin, android

## Member repositories
- PierfrancescoSoffritti/android-youtube-player (main) score 65

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:14.839464+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:31:04.564800+00:00, confidence not recorded.
  - readme: https://github.com/PierfrancescoSoffritti/android-youtube-player (fetched 2026-08-28T04:08:14.839464+00:00, sha cdea2016a095)
  - homepage: https://pierfrancescosoffritti.github.io/android-youtube-player/ (fetched 2026-08-29T09:24:41.760520+00:00, sha 4137a3165160)
- Data as of 2026-08-30T08:39:29.467469+00:00.
