# yqritc/Android-ScalableVideoView

Android Texture VideoView having a variety of scale types like the scale types of ImageView such as fitCenter, centerCrop, centerTopCrop and more

Repository: https://github.com/yqritc/Android-ScalableVideoView
Canonical: https://ross.abutalabs.com/products/android-scalablevideoview
Language: Java
License: Apache-2.0
License Family: permissive
Last push: 2022-07-20T05:20:01+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4101, "days_push": 1505, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1085, forks 221 (observed 2026-08-28T04:03:32.036166+00:00)

## What it is
An Android library providing a TextureView-based video view with ImageView-style scale types such as fitCenter, centerCrop, and centerTopCrop. It wraps MediaPlayer playback and lets developers control video scaling via XML attributes or code.

## Use cases
- play video with centerCrop scaling on android
- fit a video inside a view without distortion
- show background video cropped to fill the screen
- change video scale type at runtime
- replace VideoView with a scalable TextureView

## When to choose
- you need ImageView-like scale types for video playback on Android
- you want a lightweight TextureView-based video player with MediaPlayer
- you need to crop or fit video in layouts like splash screens or backgrounds

## When to avoid
- you need advanced playback features like DRM, streaming protocols, or caching
- your project uses ExoPlayer/Media3 and you prefer its scaling options
- you need active development or frequent updates

## Facets
- artifact type: library
- maturity: maintenance
- function: video-processing, ui-components
- domain: android-tools, mobile-development, media
- platform: -
- tags: textureview, videoview, scale-types, mediaplayer, java, android, mobile

## Member repositories
- yqritc/Android-ScalableVideoView (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:32.036166+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-30T06:49:54.502120+00:00, confidence not recorded.
  - readme: https://github.com/yqritc/Android-ScalableVideoView (fetched 2026-08-28T04:03:32.036166+00:00, sha 256f0d6d2c14)
- Data as of 2026-08-30T08:39:29.467469+00:00.
