# sampotts/plyr

A simple HTML5, YouTube and Vimeo player

Repository: https://github.com/sampotts/plyr
Canonical: https://ross.abutalabs.com/products/plyr
Homepage: https://plyr.io
Language: JavaScript
License: MIT
License Family: permissive
Topics: html5-video, youtube, vimeo, javascript, plyr
Last push: 2026-08-23T23:37:33+00:00

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

## Adoption (not part of the score)
Stars 29968, forks 3117 (observed 2026-08-28T04:11:53.782508+00:00)

## What it is
Plyr is a lightweight, accessible, and customizable media player library for HTML5 video and audio, as well as YouTube and Vimeo embeds. It provides a unified API and standardized events across all supported media types, with support for streaming via hls.js, Shaka, and dash.js.

## Use cases
- embed a custom-styled video player on a website
- play YouTube and Vimeo videos with a unified player UI
- add accessible captions and keyboard shortcuts to video playback
- stream HLS or DASH video in the browser
- replace default HTML5 video controls with a responsive player
- standardize playback events across different video providers

## When to choose
- you need one consistent player UI for HTML5, YouTube, and Vimeo media
- accessibility (captions, screen readers, keyboard shortcuts) is a priority
- you want a framework-free vanilla JavaScript player with a clean API
- you need customizable markup and styling for your player

## When to avoid
- you need advanced DRM or enterprise video platform features
- you're building a native mobile app rather than a web page
- you need a full-featured video platform with analytics and monetization built in

## Facets
- artifact type: library
- maturity: stable
- function: ui-components, video-processing, audio-processing, internationalization, accessibility
- domain: web-development, frontend, media, accessibility
- platform: browser, cross-platform
- tags: html5-video, media-player, youtube, vimeo, customizable-player, streaming, hls, dash, captions, vanilla-javascript, javascript

## Member repositories
- sampotts/plyr (main) score 87

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:53.782508+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-29T16:52:48.638556+00:00, confidence not recorded.
  - readme: https://github.com/sampotts/plyr (fetched 2026-08-28T04:11:53.782508+00:00, sha 1da6d87de429)
  - homepage: https://plyr.io (fetched 2026-08-29T07:50:09.528647+00:00, sha 98531571ebe3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
