Skip to content

Releases: leoasis/react-sound

v1.2.0

27 Apr 13:29
Compare
Choose a tag to compare
  • New onBufferChange prop (thanks @robertnealan!)

v1.1.0

19 Jan 13:35
Compare
Choose a tag to compare
  • Fix #56 (thanks @hyperh for reporting and @nukeop for providing a repro example!)
  • Remove playFromPosition's default prop value

v1.0.0

26 Dec 15:39
Compare
Choose a tag to compare
  • New playbackRate prop (#53 Thanks @Akurganow! πŸŽ‰ )
  • Use late-bound props when calling sound callbacks. Causes most recent callback props to be called. Fixes #16.
  • Update soundmanager2 required version.
  • Add support for React 16, and move React to peer deps.
  • Use process.env.NODE_ENV to determine which build to use for soundmanager2. In prod the nodebug build is used. (Fixes #13, #42)

v0.10.0

28 Nov 22:17
Compare
Choose a tag to compare
  • New onError callback prop. (#50 thanks @kylesuss πŸŽ‰ !)

v0.9.0

27 Nov 14:52
Compare
Choose a tag to compare
  • New onLoad callback prop. (#41 thanks @jayce-leathers πŸŽ‰ !)

v0.8.0

31 Jul 22:08
Compare
Choose a tag to compare
  • New onPause, onResume and onStop callback props. (#37 thanks @chadwilken πŸŽ‰ !)

v0.7.0

18 Jul 21:33
Compare
Choose a tag to compare
  • New autoLoad prop that allows the sound to load before starting playing. (#35 thanks @pswoodworth πŸŽ‰ !)

v0.6.2

14 Jul 20:52
Compare
Choose a tag to compare
  • πŸ› Fix for position settings (position and playFromPosition) not being obeyed if set before the sound was created. (#34 thanks @C-Higgins! πŸŽ‰ )

v0.6.1

05 May 16:05
Compare
Choose a tag to compare
  • Support for server side rendering (#27 thanks @luntegg!)

v0.6.0

01 May 18:17
Compare
Choose a tag to compare
  • Use prop-types package to avoid warnings with react 15.5. Drop support for react < 15 (#28 Thanks @vmasto!)
  • Use babel 6 to build the library. If requiring this library using require, you'll need to access the default propertly, like this:
// Don't do this:
// var Sound = require('react-sound');

// Instead, do this:
var Sound = require('react-sound').default;