AnsweredAssumed Answered

How to add Audio to a Pop-Up

Question asked by rachelmurphy on Mar 28, 2018
Latest reply on Sep 20, 2018 by lauragayle

I have a number of small audio files that I uploaded to Soundcloud.  I want to embed them into pop-ups within AGOL so that they can be viewed via a webapp.  I want to user to be able to use the audiofile within the pop-up rather than being directed to the soundcloud site. 


All my information is created in Excel first. I add the Excel file to ArcMap.  However, the Soundcloud embed code is too long to fit in one column in my attribute table and turns into a 'blob'.


I have also tried shortening the embed code to just the unique elements, exporting as a zipped shapefile to AGOL, and then adding the embed code as html, with the unique elements being imported from the shapefile attribute data, but this does not work.  


I also tried adding the html audio tags and this displayed a player but I can't figure out how to get the Soundcloud url to work within that.


The only way I can find of incorporating the audio file at the moment is through a simple text link but this directs people away from the pop-up to the Soundcloud site, so is not a good user experience.


Grateful for any advice or suggestions!