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.

@limeplay/[email protected]发布于 2023-08-12 22:06 UTC289star19fork同步于 2026-11-07 07:33 UTC

怎么上手

从 README 代码块原样提取,可能是其中一种安装方式
npx shadcn@latest init
npx shadcn add @limeplay/video-player
硬件要求

README 没有说明硬件要求。

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

这个项目的说明还在生成中,先参考下面「最近发版」和 README。

最近发版

5 个版本@limeplay/[email protected]
  1. @limeplay/[email protected]最新正式版2023-08-12 · 2023-08-12 22:06 UTC

    Patch Changes

  2. @limeplay/[email protected]2023-08-12 · 2023-08-12 18:18 UTC
    查看更新说明

    Minor Changes

    • f417b55 Thanks @WINOFFRG! - Migrated to new version, Removed additional dependencies, Completely Headless, Stable

    Patch Changes

  3. @limeplay/[email protected]2023-05-08 · 2023-05-08 00:34 UTC
    查看更新说明

    Major Changes

    Patch Changes

  4. @limeplay/[email protected]2023-05-08 · 2023-05-08 00:34 UTC
    查看更新说明

    Major Changes

    Patch Changes

  5. @limeplay/[email protected]2023-04-05 · 2023-04-05 19:54 UTC
    查看更新说明

    Patch Changes

    • 30ca032: Rolling back version
    • 30ca032: Patch: Added Readme

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    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

    1. 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.
    2. Cover the details users notice: resilient error states, accessible controls, keyboard navigation, responsive layouts, browser support, and modern interaction states.
    3. Keep ownership of the UI. Limeplay handles player logic, state, events, playlists, and media controls while the components stay fully editable in your app.
    4. 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

    Star History Chart