Skip to content

Version 1.2.0 of waveplayer.js

Compare
Choose a tag to compare
@michaeldzjap michaeldzjap released this 30 Aug 10:35
· 166 commits to master since this release

Features

  • Two new public methods have been added: loadAudio() to load an audio file only, without loading and rendering the waveform view and loadWaveform() 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