react-howler-player

releaseissueslicense

Demo

Usage

Install the package
npm install --save react-howler-player
Import the package
import Player from "react-howler-player"
Pass an audio url in props.
import React, { Component, PureComponent } from 'react
import Player from "react-howler-player"

export default class App extends PureComponent {
  render() {
      return (
          <div>
            <Player
                src={[
                    'http://www.archive.org/download/solo_pride_librivox/prideandprejudice_01-04_austen_apc_64kb.mp3'
                ]}
            />
            <Player
                src={[
                    'http://www.archive.org/download/solo_pride_librivox/prideandprejudice_01-04_austen_apc_64kb.mp3'
                ]}   
                isDark={true}
            />
          </div>
      )
  }
}