v2.0.0
Breaking Changes:
The UI is completely different from v1.0+.
Using play(audio)
to update the audio source has been deprecated. Use the new update(audio)
. play
is reserved solely for playback control.
container
option now accepts HTMLElement
instead of CSS selector string to avoid ambiguity.
Most of the codes have been rewritten.
New features:
- dark mode
- keyboard support for playback controls
- chapter plugin
- integration with external audio metadata reader
- text marquee
- completely new look
Optimizations:
- remove preload:none hack intended for iOS Safari
- improve ARIA support
- control style with data attributes instead of classes
- better click feedback
- smoother progress animation
Bug fixes:
- fix utility function bugs
- prevent potential bugs that multiple container els could cause