Skip to content

Releases: lhz516/react-h5-audio-player

3.2.0

16 Jun 08:59
Compare
Choose a tag to compare
  • Added onVolumeChange Props #50
  • Fixed svg style when the package is used with Bootstrap #51
  • Added UMD support (react-h5-audio-player/lib/react-h5-audio-player.min.js)
  • Added CodePen link in README https://codepen.io/lhz516/pen/dyGpmgP

3.1.0

05 May 03:42
Compare
Choose a tag to compare
  • Added props progressJumpSteps to deprecate the existing progressJumpStep #41 @bleuarg
progressJumpSteps?: {
    backward?: number
    forward?: number
  }

(progressJumpStep will still be supported until v4.0.0)

3.0.6

28 Apr 22:56
Compare
Choose a tag to compare
  • Prevent right click progressbar which used to cause a bug #39 @JeffreyCA
  • Remove max-width: 300px to support edge case layouts #37 @JeffreyCA

3.0.5

14 Apr 22:13
Compare
Choose a tag to compare

Add type="button" to all button tags in case the player is inside a form #34 @johnfrommartin

3.0.4

12 Apr 18:19
Compare
Choose a tag to compare

3.0.3

11 Apr 22:11
Compare
Choose a tag to compare
  • Fix a bug that used to update the component after it's unmounted #33 @moh3ni

3.0.2

30 Mar 07:26
Compare
Choose a tag to compare

3.0.1

24 Mar 01:19
Compare
Choose a tag to compare
  • Fix a typo: Props ShowFilledProgress -> showFilledProgress, and add it to README

Note: Since this API wasn't mentioned in README, so the change is not considered breaking change, unless you used it anyways.

3.0.0

15 Mar 23:19
Compare
Choose a tag to compare

Introduced Advanced Layout customization:

  • Added props layout
  • Added props customProgressBarSection
  • Added props customControlsSection
  • Added props customAdditionalControls
  • Added props customVolumeControls

Breaking changes:

  • Dropped support under React 16.3.0
  • Dropped support under IE 11 (IE 10 had stopped being maintained by Microsoft after Jan. 14, 2020)
  • Changed onListen callback's argument from current time number to Event object
    • You can still get current time by event.target.currentTime
  • Deprecated props showVolumeControl. Now use customVolumeControls={[]} to hide volume control
  • Deprecated props showLoopControl. Now use customAdditionalControls={[]} to hide loop button

2.4.2

04 Mar 04:45
Compare
Choose a tag to compare
  • Fix an edge case that causes errors when unmounting the component #28 @JackHuang16