Skip to content

Releases: chrisweb/web-audio-api-player

v4.3.1

02 Aug 22:18
Compare
Choose a tag to compare
  • fix bug, where loop queue is enabled and next() would throw error that there are no more song if current song is last, if loop is enabled the next song after "last" should be "first" again

v4.3.0

02 Aug 21:52
Compare
Choose a tag to compare
  • fixed the return value "willPlayNext" if the "loopQueue" mode is enabled, if the queue is supposed to loop this means that the last song in the queue should have a "willPlayNext" value set to true and not false, as the next song after the last one in the queue will be the first song in the queue
  • added two new methods, one to change the value of "loopQueue" (setLoopQueue) after player initialization and the second one is a getter (getLoopQueue) method to get the current value of "loopQueue"
  • finally added some documentation to the players readme

v4.2.0

01 Aug 22:25
Compare
Choose a tag to compare
  • for smoother progress updates the player now internally uses the requestAnimationFrame instead of setInterval to trigger the callback that returns the current songs playing progress

v4.1.0

31 Jul 19:33
Compare
Choose a tag to compare
  • fixed bug when using media element at end of sound onEnded would not get triggered
  • added optional minified build for situations where project is not using a bundler and doing their own minification

v4.0.2

18 Mar 13:10
Compare
Choose a tag to compare
  • eslint-plugin-import dependency update, to fix JSON5 related CVE-2022-46175

v4.0.1

29 Dec 22:50
Compare
Choose a tag to compare
  • modernized codebase and removed UMD support, this and future versions will be ESM only

v3.0.1

20 Sep 19:40
Compare
Choose a tag to compare
  • fixed documentation, SOUND_MODE is now PLAYER_MODE and the two currently implemented methods are AUDIO and AJAX and not AUDIO and FETCH as mentioned in v3.0.0

v3.0.0

20 Sep 19:20
Compare
Choose a tag to compare
  • replaced the boolean isPlaying which was the info if the sound is playing or not by a more complex sound state which can be "playing", "stopped" or "paused" to better distinguish between not playing because paused or not playing because stopped

v2.0.3

19 Sep 20:01
Compare
Choose a tag to compare
export ISound added + deps update

v2.0.1

19 Apr 18:12
Compare
Choose a tag to compare
  • improved linting now uses eslint in favor of deprecated tslint