aplayer-react
TypeScript icon, indicating that this package has built-in type declarations

1.6.0 • Public • Published

aplayer-react

APlayer for your React application.

npm CI Status semantic-release: angular

ScreenShot

View full documentation on https://aplayer-react.js.org

Features

The APlayer features you love with the APlayer options you are familiar with.

  • Beautiful and clean UI
  • Lyrics scroll
  • Playlist with repeat & shuffle controls
  • Custom theme color / Self-adapting theme color

Usage

Install aplayer-react npm package

npm i aplayer-react

Import APlayer component from aplayer-react package, and import stylesheet.

import { APlayer } from "aplayer-react";
import "aplayer-react/dist/index.css";

render(
  <APlayer
    audio={{
      name: "Dancing with my phone",
      artist: "HYBS",
      url: "https://music.163.com/song/media/outer/url?id=1969744125",
    }}
    autoPlay
  />
);

Who uses aplayer-react?

Related projects

/aplayer-react/

    Package Sidebar

    Install

    npm i aplayer-react

    Weekly Downloads

    12

    Version

    1.6.0

    License

    MIT

    Unpacked Size

    111 kB

    Total Files

    7

    Last publish

    Collaborators

    • sevenoutman