# oyuyue/nplayer

🚀 支持移动端、支持 SSR、支持直播，可以接入任何流媒体。高性能的弹幕系统。高度可定制，所有图标、主题色等都可以替换，并且提供了内置组件方便二次开发。无第三方运行时依赖。

Repository: https://github.com/oyuyue/nplayer
Canonical: https://ross.abutalabs.com/products/nplayer
Homepage: https://nplayer.js.org
Language: TypeScript
License: MIT
License Family: permissive
Topics: player, danmaku, video-player, nplayer
Last push: 2024-03-14T16:25:22+00:00

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

## Adoption (not part of the score)
Stars 1387, forks 124 (observed 2026-08-28T04:04:35.186658+00:00)

## What it is
NPlayer is a highly customizable, plugin-based HTML5 video player written in TypeScript with zero third-party runtime dependencies. It supports mobile, SSR, live streaming, and any streaming protocol (HLS, DASH, FLV), and includes a high-performance danmaku (bullet comment) system provided as an optional plugin.

## Use cases
- embed a customizable video player in a web app
- add danmaku bullet comments to videos
- play HLS/DASH/FLV live streams in the browser
- build a video player that works on mobile and desktop with responsive breakpoints
- use a video player with SSR frameworks like Next.js or Nuxt
- integrate a video player into React or Vue projects
- theme and restyle a video player's icons and colors
- add picture-in-picture, keyboard shortcuts, and thumbnails to video playback

## When to choose
- you need a lightweight, dependency-free video player with strong customization
- you need danmaku support or live streaming protocols like HLS/DASH/FLV
- you need SSR compatibility and mobile/tablet responsive breakpoints
- you want a plugin system to extend the player with only the features you need

## When to avoid
- you need DRM or advanced enterprise video features
- you need guaranteed long-term maintenance, as the project sees infrequent releases
- you need a player for non-web platforms like native mobile or desktop apps

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components, video-processing, plugin-system, internationalization
- domain: web-development, frontend, media
- platform: browser, cross-platform
- tags: video-player, danmaku, hls, dash, flv, live-streaming, ssr, responsive, customizable, no-runtime-dependencies, video, web-server, typescript

## Member repositories
- oyuyue/nplayer (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:35.186658+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-30T04:39:50.755210+00:00, confidence not recorded.
  - readme: https://github.com/oyuyue/nplayer (fetched 2026-08-28T04:04:35.186658+00:00, sha 9fe68913516f)
  - homepage: https://nplayer.js.org (fetched 2026-08-29T11:55:40.020660+00:00, sha 1d59d8ea213b)
  - site_page: https://nplayer.js.org/docs (fetched 2026-08-29T11:55:40.029913+00:00, sha 1ce80cde6408)
  - site_page: https://nplayer.js.org/docs/api/config (fetched 2026-08-29T11:55:40.033936+00:00, sha 710f90cda32a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
