
limeplay
WINOFFRGMIT活跃维护基于 Shaka Player 和 shadcn/ui 的 React 视频播放器 UI 组件库,提供无头、可访问的播放器界面与 hooks,支持 HLS、DASH 和 DRM 流媒体。
Modern UI Library for Video Players in React. @shaka-project for player engine and @shadcn-ui for installation. Beautifully designed & accessible components, packed with hooks.
npx shadcn@latest init
npx shadcn add @limeplay/video-playerREADME 没有说明硬件要求。
项目说明
这个项目的说明还在生成中,先参考下面「最近发版」和 README。
- @limeplay/[email protected]2023-08-12 · 2023-08-12 18:18 UTC
- @limeplay/[email protected]2023-05-08 · 2023-05-08 00:34 UTC
- @limeplay/[email protected]2023-05-08 · 2023-05-08 00:34 UTC
查看更新说明
Major Changes
Patch Changes
- @limeplay/[email protected]2023-04-05 · 2023-04-05 19:54 UTC
查看更新说明
Patch Changes
- 30ca032: Rolling back version
- 30ca032: Patch: Added Readme
用户点评
登录用户的真实使用记录,可按版本和硬件筛选还没有人点评。第一个说出真实体验的人最有价值。
Limeplay
Copy-paste media player components for React. Limeplay follows the shadcn/ui model: install a block, get the files in your app, and customize them like code you wrote yourself.
Built on Shaka Player for HLS, DASH, adaptive bitrate, and DRM-capable playback.
Documentation · Blocks · Discord · Development
Install
Start with a React project that already has shadcn/ui initialized.
npx shadcn@latest init
Add the video player block:
npx shadcn add @limeplay/video-player
Use it anywhere in your app:
import { VideoPlayer } from "@/components/limeplay/video-player/player"
export function Player() {
return (
<VideoPlayer source="https://storage.googleapis.com/shaka-demo-assets/angel-one/dash.mpd" />
)
}
[!TIP] You can find more blocks in Limeplay Blocks showcase.
Goals
- Ship production-grade media players without rebuilding the hard parts. Limeplay gives you Netflix, YouTube, and Spotify-style interaction patterns with real playback behavior, not static UI.
- Cover the details users notice: resilient error states, accessible controls, keyboard navigation, responsive layouts, browser support, and modern interaction states.
- Keep ownership of the UI. Limeplay handles player logic, state, events, playlists, and media controls while the components stay fully editable in your app.
- Build on a serious playback engine. Shaka Player brings HLS, DASH, live streaming, DRM-capable playback, adaptive bitrate, and more.
For custom layouts, feature hooks, and API references, start with the quick start docs.
License
MIT © WINOFFRG