Skip to content

react-z/react-soundcloud-player

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-soundcloud-player

npm version

react-soundcloud-player is a simple SoundCloud player.

For a soundcloud player using the Widget API check out react-soundcloud-widget-player

Installation

yarn add react-soundcloud-player

Usage

import Player from 'react-soundcloud-player'
import ReactDOM from 'react-dom'
import React, { Component } from 'react'

class TestComponent extends Component {
  render() {
    return (
      <div>
        <Player
          client_id="c5a171200f3a0a73a523bba14a1e0a29"
          audio_id="193179003"
          title="Easyfun - Fanta"
        />
      </div>
    )
  }
}

ReactDOM.render(<TestComponent />, document.getElementById('root'))

Styles

Uses styled-components 💅 for the base styling.

Development

yarn
yarn dev

Test

yarn test

Build

yarn
yarn build

Publish

npm login
npm version patch
git add -A
git push origin master
npm publish

License

MIT

About

react-soundcloud-player is a simple SoundCloud player.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published