# DIYgod/DPlayer

:lollipop: Wow, such a lovely HTML5 danmaku video player

Repository: https://github.com/DIYgod/DPlayer
Canonical: https://ross.abutalabs.com/products/dplayer
Homepage: https://dplayer.diygod.dev
Language: JavaScript
License: MIT
License Family: permissive
Topics: dplayer, video, player, danmaku, hls, flv, dash, webtorrent
Last push: 2026-03-04T03:04:09+00:00

## Health v2 (maintenance only)
Score: 54/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 70, release rhythm 8, longevity 100
- inputs: {"age_days": 3774, "days_push": 182, "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 16485, forks 2483 (observed 2026-08-28T04:11:16.576467+00:00)

## What it is
DPlayer is an open-source HTML5 video player library with built-in danmaku (bullet comment) support, written in JavaScript. It supports multiple streaming formats including HLS, FLV, MPEG DASH, and WebTorrent, plus features like screenshots, hotkeys, quality switching, thumbnails, and subtitles.

## Use cases
- embed a video player with danmaku comments on my website
- play HLS or DASH streams in the browser
- add a bullet-comment overlay to HTML5 video
- play torrent videos directly in the browser
- add quality switching and subtitles to a web video player
- integrate a video player into WordPress or Hexo

## When to choose
- you need danmaku/bullet-comment support in a web video player
- you need broad streaming format support (HLS, FLV, DASH, WebTorrent) in one player
- you want a lightweight, MIT-licensed player with CMS plugins for WordPress, Typecho, Hexo, etc.

## When to avoid
- you need a full commercial-grade video platform with DRM or analytics
- you don't need danmaku and prefer a more actively maintained player like Video.js or Plyr
- you need native mobile app playback rather than browser-based

## Facets
- artifact type: library
- maturity: stable
- function: video-processing, ui-components, frontend-framework
- domain: web-development, frontend, media
- platform: browser, cross-platform
- tags: danmaku, html5-video-player, hls, flv, dash, webtorrent, subtitles, screenshot, video, nodejs

## Member repositories
- DIYgod/DPlayer (main) score 54

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:16.576467+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:04:54.105065+00:00, confidence not recorded.
  - readme: https://github.com/DIYgod/DPlayer (fetched 2026-08-28T04:11:16.576467+00:00, sha a0421b876d22)
  - homepage: https://dplayer.diygod.dev (fetched 2026-08-29T08:02:34.376760+00:00, sha afac8f4027e3)
  - registry_npm: https://registry.npmjs.org/dplayer (fetched 2026-08-29T08:02:34.385801+00:00, sha 3daba63bdecf)
- Data as of 2026-08-30T08:39:29.467469+00:00.
