CarmeloMilian
Posts: 0
Joined: Sat Apr 06, 2013 4:01 am

Adding Audio to App

I am looking to play a sound on the push of a button, I added the Audio Media component but its looking for SRC link. I want to have this audio file built inside the app locally to play on the push of a button. How can I do this?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Adding Audio to App

Hello! Add this file on Source tab and specify related link to this file in Audio component.

Martin Sjolte
Posts: 0
Joined: Wed Feb 05, 2014 4:14 pm

Adding Audio to App

Hi
I have follow your advice and added a mp3 file here:

/You_Are_Valuable/assets/www/files/music/altid.mp3 - but the media player just keeps loading.

What could be wrong?

Kind regards from Martin

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Adding Audio to App

Hello! Please check this post https://getsatisfaction.com/apperyio/...

Martin Sjolte
Posts: 0
Joined: Wed Feb 05, 2014 4:14 pm

Adding Audio to App

hi - thanks for replying
I viewed the post. I just can ́t figure out what css styling has to with uploading a file? When I look at my source overview, it shows android, iOS, webresources and windows phone. I need to know in which off these to go?, and is the src relative to what directory? - I have placed my mp3 relative to "files" like:

files/music/altid.mp3 - but still not working

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Adding Audio to App

Hello! If you need it to work in all systems add file to webresources folder. If you want to upload different files for iOS/Android/Windows Phone, use corresponding folders. Could you post screenshots of Source tab where you uploaded file and added link to file?

Return to “Issues”