README
react-ive-tunes
Have you got a new album? Want to see people's REACTions on it? Try ReactIveTunes NOW
Features
All the buttons you need:
- play/pause
- mute
- volume
- remove
- add
- previous
- next
- fullscreen
How to implement
Pass an array of strings to the dataSource
attribute, strings which represent direct links to video/audio files.
The canModifyQueue
attribute shows/hides the add and remove buttons.
Install
npm install --save react-ive-tunes
Usage
import React, { Component } from 'react'
import ReactIveTunes from 'react-ive-tunes'
class Example extends Component {
var videos = ["link1", "link2", "link3"];
render () {
return (
<ReactIveTunes dataSource={videos} canModifyQueue={true} />
)
}
}
License
MIT © tomadimitrie ; taveeh