Simple Audio Player With React And CSS3

A simple audio player built using with ReactJS and CSS3.

Installation:

# NPM
$ npm install react-cl-audio-player --save

Usage:

import AudioPlayer from 'react-cl-audio-player';

<AudioPlayer
  songs={songs}
  autoplay
/>

Default props.

propTypes = {
  songs: PropTypes.array.isRequired,
  autoplay: PropTypes.bool,
  onTimeUpdate: PropTypes.func,
  onEnded: PropTypes.func,
  onError: PropTypes.func,
  onPlay: PropTypes.func,
  onPause: PropTypes.func,
  onPrevious: PropTypes.func,
  onNext: PropTypes.func,
};

Preview:

Simple Audio Player With React And CSS3

Download Details:

Author: cezarlz

Live Demo: View The Demo

Download Link: Download The Source Code

Official Website: https://github.com/cezarlz/react-cl-audio-player

License: MIT

You Might Be Interested In:

Add Comment