1.2.0 • Published 5 years ago
react-soundcloud-component v1.2.0
Overview
A React component that uses SoundCloud's oEmbed API to render music on a webpage.
How to install
npm i --save react-soundcloud-component
How to include
import SoundCloudEmbed from './SoundCloudEmbed';;
How to use
<SoundCloudEmbed url="https://soundcloud.com/pinkworldpromo/trillk-coogi" height="300" width="300" />
Props
Props | Description |
---|---|
url | soundcloud url for a track, playlist, user |
height | height of embed object |
width | width of embed object |