Try it out here.
More information about this can be found in this blog article.
Option | Type | Default | Description |
---|---|---|---|
autoplay | bool | false | Play after start |
controls | bool | true | Display standard audio controls |
loop | bool | fale | Play in loop |
volume | float | 1.0 | Audio volume (range 0.0 .. 1.0) |
Event | Params | Description |
---|---|---|
onLoadedmetadata | none | Fired when an audio file is loaded |
onVolumechange | volume | Fired when volume is changed |