react-soundcloud
v0.1.1
Published
React component with SoundCloud player
Downloads
1,076
Maintainers
Readme
react-soundcloud
React component for SoundCloud player
Installation
$ npm install react-soundcloud
# or
$ bower install react-soundcloud
Demo
http://rudeg.github.io/react-soundcloud/demo/
Usage
SCPlayer
takes one required prop:
track
: url of track at soundcloud, which will be played
SCPlaylist
takes one required prop:
tracks
: array with urls of tracks from soundcloud, which will be played
Examples
SCPlayer:
<SCPlayer track="https://soundcloud.com/mayhem/mayhem-x-antiserum-hustle" />
SCPlaylist:
var tracks = ['https://soundcloud.com/davidguetta/david-guetta-ft-sam-martin-dangerous-robin-schulz-remix-radio-edit',
'https://soundcloud.com/mayhem/mayhem-x-antiserum-hustle'];
<SCPlaylist tracks={tracks} />
License
MIT