Loading Audio into DAEA
link
add a comma and audio
audio
column, add audio html tags: <audio src="test.mp3" controls preload></audio>
For audio source, if you are hosting a local file, make sure to complete the path fully. For instance, if your audio file test.mp3
is hosted in your project folder in sounds
the path will be <audio src="sounds/test.mp3" controls preload></audio>
If your audio file is hosted on a url, just put the url in your src: <audio src="http://soundwebsite/test.mp3" controls preload></audio>
index.html
index.html
. You will see this:<!-- Initiates Map and pulls data from .CSV -->
marker.toGeoJSON().properties.info + '<br><br> ' +
, hit enter to create a new line and add marker.toGeoJSON().properties.audio + '<br><br>' +
marker.toGeoJSON().properties.audio + '<br><br>' +
aa-sites-popup.csv