Skip to content
ํ”„๋กœ์ ํŠธ

์†Œ๊ฐœ

๐Ÿ”Š Simple, accessible and flexible audio player

๋””์ž์ธ ๋ฐ ๋ฏธ๋””์–ด

์ด ์ˆ˜์น˜๋ฅผ ์ธก์ •ํ•˜๋Š” ๋ฐฉ๋ฒ•

์ธก์ •๋œ ์Šคํƒ€ ์ฆ๊ฐ€

in 24h
0
in 7 days
0
in 15 days
+1
in 1 month
+1

์„œ๋กœ ๊ฒน์น˜๋Š” ๊ธฐ๊ฐ„์˜ ์ˆœ์ฆ๊ฐ€๋Ÿ‰์ด๋ฉฐ ์ผ๋ณ„ ํ•ฉ๊ณ„๊ฐ€ ์•„๋‹™๋‹ˆ๋‹ค. ์ธก์ •๊ฐ’์ด ์—†์œผ๋ฉด ๋น„์›Œ ๋‘ก๋‹ˆ๋‹ค. ์Šคํƒ€๋Š” ๊ด€์‹ฌ๋„๋ฅผ ๋‚˜ํƒ€๋‚ด๋ฉฐ ํ’ˆ์งˆ์„ ๋ณด์žฅํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.

README.md

Original

react-modern-audio-player

Modern, customizable React audio player with waveform visualization, drag-and-drop playlist, WAI-ARIA accessibility, TypeScript-first API, and Next.js App Router (Server Components) support.

npm license

Full documentation โ†’ package/README.md

Install

npm install react-modern-audio-player
import AudioPlayer from "react-modern-audio-player";

const playList = [
  { id: 1, src: "audio.mp3", name: "Track 1", writer: "Artist", img: "cover.jpg" },
];

export default function Page() {
  return <AudioPlayer playList={playList} />;
}

Requires React 18 or newer.

Repository layout

This is a yarn workspaces monorepo. The published npm package is package/ โ€” everything else is development tooling.

Path Contents
package/ The published library. Source in package/src/, docs in package/README.md
storybook/ Storybook workspace for visual development
test/e2e/ Playwright end-to-end specs
test/integration/ Integration tests
agents/, conventions/ Instructions and naming rules for coding agents โ€” see AGENTS.md

Development

Requires Node.js 20+ and yarn 4 (enable with corepack enable).

Task Command Run from
Install yarn install root
Build the library yarn build root
Dev server yarn dev package/
Unit tests yarn test:unit package/
Integration tests yarn test:integration package/
All Vitest tests yarn test package/
Coverage yarn test:coverage package/
Type check yarn typeCheck package/
Lint and fix yarn lint root
End-to-end tests yarn test:e2e root

Contributing

Branch from develop, and follow the commit and pull request rules in AGENTS.md.

License

MIT ยฉ MAXX

๊ด€๋ จ ํ”„๋กœ์ ํŠธ ์‚ดํŽด๋ณด๊ธฐ

๋ถˆ๋Ÿฌ์˜ค๋Š” ์ค‘โ€ฆ