react-hooks-player

ui and audio tag wrapper for react

Usage no npm install needed!

<script type="module">
  import reactHooksPlayer from 'https://cdn.skypack.dev/react-hooks-player';
</script>

README

react-hooks-player

alt player

try it here =)

NPM NPM NPM

Install

npm install --save react-hooks-player

Usage

import React from 'react'
import Player from 'react-hooks-player'

const App = () => {
  return (
    <Player 
      url={}             //required
      title={}           //required
      color={}           //default: '#9582ab'
      background={}      //default: 'white'
      volumeControls={}  //default: false
      height={}          //default: 50
    />
  )
}

License

MIT © vault-developer