Page 1 of 1

Adding Audio to App

Posted: Tue Feb 04, 2014 5:54 pm
by CarmeloMilian

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?


Adding Audio to App

Posted: Tue Feb 04, 2014 7:30 pm
by Maryna Brodina

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


Adding Audio to App

Posted: Wed Feb 05, 2014 4:14 pm
by Martin Sjolte

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


Adding Audio to App

Posted: Wed Feb 05, 2014 8:48 pm
by Maryna Brodina

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


Adding Audio to App

Posted: Thu Feb 06, 2014 8:29 am
by Martin Sjolte

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


Adding Audio to App

Posted: Thu Feb 06, 2014 8:17 pm
by Maryna Brodina

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?