# tjallingt/react-youtube

react.js powered YouTube player component

Repository: https://github.com/tjallingt/react-youtube
Canonical: https://ross.abutalabs.com/products/react-youtube
Homepage: http://tjallingt.github.io/react-youtube/
Language: TypeScript
License: MIT
License Family: permissive
Last push: 2023-12-19T20:04:07+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4430, "days_push": 988, "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 1903, forks 223 (observed 2026-08-28T04:05:51.768308+00:00)

## What it is
A React component that wraps the YouTube IFrame Player API, letting you embed and control YouTube videos declaratively in React apps. It exposes player events and methods as React-friendly props and refs.

## Use cases
- embed a youtube video in a react app
- play youtube videos with custom controls in react
- react to youtube player events like play and pause
- build a video playlist component using youtube embeds
- control youtube playback programmatically from react state

## When to choose
- you need YouTube-hosted videos inside a React application
- you want React-idiomatic event handling for the YouTube player
- you want a small, well-maintained wrapper rather than building iframe integration yourself

## When to avoid
- you need to play self-hosted video files rather than YouTube content
- you are not using React
- you need advanced video editing or offline playback features

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components, video-processing
- domain: frontend, web-development, media
- platform: cross-platform
- tags: react, youtube, video-player, react-component, nodejs, web-server

## Member repositories
- tjallingt/react-youtube (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:51.768308+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-30T03:11:54.064540+00:00, confidence not recorded.
  - readme: https://github.com/tjallingt/react-youtube (fetched 2026-08-28T04:05:51.768308+00:00, sha 1c5a39c9387e)
  - homepage: http://tjallingt.github.io/react-youtube/ (fetched 2026-08-29T10:51:19.021525+00:00, sha 5a67059c9d43)
  - registry_npm: https://registry.npmjs.org/react-youtube (fetched 2026-08-29T10:51:19.030508+00:00, sha 90c4241364cb)
- Data as of 2026-08-30T08:39:29.467469+00:00.
