An audio feature is a little player for mp3s. You can link to any mp3 and we'll try and stream it.
Display a smaller audio element
Streams the audio directly, without trying to proxy it through our servers. Should make audio play faster, but if you have weird referrer rules on hosting server this might not work.
As soon as someone enters your parcel, start playing this audio. (With great power comes great responsibility).
Loop the audio forever.
How quickly the sound fades away as the player moves away from the audio player.
Value between 0 and 5.
How loud should the audio play
Value between 0 and 1.
Links must be
https:// since we force https:// for everything.
String.; Links must be
https:// and must finish with an audio extension such as
feature.get('url') // returns: "https://..."
feature.get('sprite') // returns: false
feature.get('streaming') // returns: false
feature.get('autoplay') // returns: false
feature.get('loop') // returns: false
double; Value ranging from 0 to 5
feature.get('rolloffFactor') // returns: 1.6
double; Value ranging from 0 to 1
feature.get('volume') // returns: 0.5
feature.get('type') /* or */ feature.type // returns: 'audio'
plays the audio
pauses the audio