Skip to content

v5.1.1

Compare
Choose a tag to compare
@chrisweb chrisweb released this 06 Oct 15:49
· 48 commits to main since this release
  • fixed a bug where safari would not call onended if the currentTime of the audio element got set to a value equal to the duration
  • fixed a bug where visibility change would call unmute and but the gain value was not a number
  • fixed bug where player was calling next() even though willPlayNext indicated that queue is empty (and loop queue was not active)
  • removed the console.warn when there are no more sounds in the queue, the willPlayNext of the onEnded callback already tells you there is no next sound
  • reverted change that would round duration and currentTime, I think it is best to return the original value and let the UI decide how it wants to format it, revert audio element preload value (from "metadata") to "auto"