1.1.2 • Published 6 months ago

@splicemood/react-music-player v1.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

NPM Downloads Contributors Forks Stargazers Issues MIT License

About The Project

React Music Player Video Demo

Web browsers compatibility (Can I Use >96%)

Built With

  • React

Getting Started

You need to setup provider and hook in your react app

Prerequisites

Install dependency

  • npm

    npm i @splicemood/react-music-player
  • bun

    bun i @splicemood/react-music-player

Installation

main.tsx

import ReactDOM from 'react-dom/client';
import App from './App';
import { PlayerFullSyncProvider } from '@splicemood/react-music-player';

ReactDOM.createRoot(document.getElementById('root')!).render(
  <PlayerFullSyncProvider>
    <App />
  </PlayerFullSyncProvider>
);

Player.tsx

import { useAudio } from "@splicemood/react-music-player"

const Player = () => {
  const audio = useAudio()
  
  // your component visualization using the hook
};

export default Player;

Usage

For more examples, please refer to the GitHub Page of the project

Roadmap

  • Full tab synchronization provider
  • Play/Pause tab synchronization provider
  • No sync provider

See the open issues for a full list of proposed features (and known issues).

Contributing

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Top contributors:

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Kirill Bogomolov - @manazoid - uralkir@gmail.com

Project Link: https://github.com/splicemood/react-music-player

Acknowledgments

1.1.2

6 months ago

1.1.1

8 months ago

1.1.0

8 months ago

1.0.9

10 months ago

1.0.8

10 months ago

1.0.7

10 months ago

1.0.6

10 months ago

1.0.5

10 months ago

1.0.4

10 months ago

1.0.3

10 months ago

1.0.2

10 months ago

1.0.1

10 months ago

1.0.0

10 months ago

0.1.0

10 months ago