Skip to content

Releases: lhz516/react-h5-audio-player

2.2.0

05 Jan 02:21
Compare
Choose a tag to compare
  • Added props autoPlayAfterSrcChange, defaults to true

2.1.1

04 Jan 07:22
Compare
Choose a tag to compare

2.1.0

04 Jan 04:49
Compare
Choose a tag to compare
  • Added props crossOrigin and mediaGroup as they are audio attribute
  • Added props style for overwriting the wrapper's style

Dev tools changes:

  • Replace storybook addon info with docs

2.0.2

01 Jan 08:12
Compare
Choose a tag to compare
  • Refactored the sourcecode to TypeScript, and added d.ts file

2.0.1

18 Dec 08:33
Compare
Choose a tag to compare
  • update README, no code change

2.0.0

18 Dec 07:58
Compare
Choose a tag to compare
  • Huge performance increase because of the use of mousedown/move/up events instead of dragging events
  • Added full accessibility supports, including keyboard events and screen reader supports
  • Added props showVolumeControl - Display/hide volume control bar and mute button
  • Added props showLoopControl - Display/hide enable/disable loop button
  • Added props showSkipControls - Display/hide previous and next buttons
  • Added props showJumpControls - Display/hide rewind and forward buttons
  • Added props onClickPrevious - Handle events when click previous button
  • Added props onClickNext - Handle events when click next button
  • Added props onPlayError - Handle error that caused by this.audio.play() which won't be caught by onError
  • Added props progressJumpStep - the jump step when clicking rewind/forward button or left/right arrow key
  • Added props volumeJumpStep - the jump step when pressing up/down arrow key

Breaking Changes

  • Removed inline styles, please import css, less or scss manually
  • Removed props hidePlayer - Use parent logic to hide player
  • Removed props onDragStart, onDragMove, onDragEnd - V2 isn't using drag events anymore

2.0.0-beta.0

15 Dec 07:06
Compare
Choose a tag to compare
2.0.0-beta.0 Pre-release
Pre-release
  • V2 pre-release. Release notes will be in the official 2.0.0

1.2.3

09 Dec 02:26
Compare
Choose a tag to compare
  • Manually fix npm audit issue

1.2.2

09 Dec 02:20
Compare
Choose a tag to compare

1.2.1

10 May 06:42
Compare
Choose a tag to compare
  • Fix mobile time indicator dragging bug