Version 1.2.0 of waveplayer.js
Features
- Two new public methods have been added:
loadAudio()
to load an audio file only, without loading and rendering the waveform view andloadWaveform()
to load and render the waveform view without loading the audio file. Use case could be where one would like to load multiple waveform views on a page, but defer loading of all audio (or vice versa). - It is now possible to specify the preload attribute of the HTML audio element as an option. Previously this was hardcoded to "auto", now it defaults to "metadata".
See the README for more details