# cookpete/react-player

A React component for playing a variety of URLs, including file paths, YouTube, Facebook, Twitch, SoundCloud, Streamable, Vimeo, Wistia and DailyMotion

Repository: https://github.com/cookpete/react-player
Canonical: https://ross.abutalabs.com/products/react-player
Homepage: https://cookpete.github.io/react-player
Language: TypeScript
License: MIT
License Family: permissive
Topics: react, media, player, video, audio, youtube, facebook, twitch, soundcloud, streamable, vimeo, wistia, dailymotion, hls, dash
Last push: 2025-11-13T19:27:44+00:00

## Health v2 (maintenance only)
Score: 63/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 52, release rhythm 56, longevity 100
- inputs: {"age_days": 4033, "days_push": 293, "days_rel": 293, "gap_med": 5, "n_releases_24m": 10}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 10279, forks 1201 (observed 2026-08-28T04:10:41.450577+00:00)

## What it is
A React component that plays media from a variety of URL sources including YouTube, Vimeo, Twitch, SoundCloud, HLS, and DASH. It parses the URL, loads the appropriate player markup and external SDKs, and exposes props for controlling playback and reacting to events.

## Use cases
- embed a youtube video in a react app
- play vimeo videos with a react component
- stream hls video in a web app
- unified react component for multiple video providers
- play audio from soundcloud in react
- lazy load video players to reduce bundle size
- control video playback and handle buffering events in react

## When to choose
- you need one component that handles many video/audio providers
- you want to embed YouTube, Vimeo, Twitch, or SoundCloud media in React
- you need HLS or DASH streaming playback in a React app

## When to avoid
- you are not using React
- you need a fully self-hosted player with no external SDKs
- you need advanced custom player UI beyond what props expose

## Facets
- artifact type: library
- maturity: active
- function: ui-components, video-processing, audio-processing
- domain: frontend, web-development, media
- platform: browser
- tags: react, video-player, youtube, vimeo, hls, dash, media-player, typescript, web-server, nodejs

## Member repositories
- cookpete/react-player (main) score 63

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:41.450577+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-29T17:19:21.097949+00:00, confidence not recorded.
  - readme: https://github.com/cookpete/react-player (fetched 2026-08-28T04:10:41.450577+00:00, sha bdc5ebbb07dd)
  - homepage: https://cookpete.github.io/react-player (fetched 2026-08-29T08:19:01.532572+00:00, sha 7ca3907660d0)
- Data as of 2026-08-30T08:39:29.467469+00:00.
