Note: The player <div> will by default assume the width of its container element. The player height is defined by the track height.
Note: Audio file paths can be relative or absolute.
Note: Only audio files ending with .mp3, .ogg, .wav, .aac or .m4a are supported.
Note: Before loading an audio source, the script will test whether the file exists. In order to prevent redirection problems with .htaccess you should skip redirection rules for “HEAD” requests.
Note: If you want to use multiple audio file formats for one player, just omit the file extension (including the dot!) from your audio url in the data-url attribute. However, this entails some constraints:
1. It requires the associated audio sources to be stored at the same location.
2. The file extensions must be lower case.
Note: If you want to load audio files from an external server, make sure it has the correct CORS setting (Access-Control-Allow-Origin).
Note: The current version does not support live streaming. Maybe a future release…