1.3.1 • Published 4 years ago

react-custom-soundcloud v1.3.1

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

react-custom-soundcloud

React custom soundcloud player

Custom Soundcloud player supporting single tracks & playlists

Example

react-custom-soundcloud-2

import SoundCloud from 'react-custom-soundcloud';
import 'react-custom-soundcloud/dist/style.css';

const MyComponent = () => {
  return <SoundCloud
    track="194881641"
    mini={true}
  />;
}

Options

NameTypeDefaultDescription
trackstring-ID of track
playliststring-ID of playlist
minibooleanfalseSmall player with inline play button
themestringdarkPlaylist colours - accepts dark or light

Track or playlist IDs can be found from Soundcloud embed player URLs

Browser Support

  • Chrome
  • Firefox
  • Internet Explorer 10 +
  • Opera