Page 1 of 2
Playing audio in background
Posted: Sun Oct 28, 2012 12:52 am
by rammohan.acharyadasa
Hi
i am using Xcode 4.5.1
i have developed app which plays audio file using Tiggzi audio widget.
It works great. Only the problem is it does not play in back ground even though
i set up
"Set UIBackgroundModes key in app-info.plist "
ple see the below image for settings. as per link http://www.sagorin.org/2011/11/29/ios...
it used to work for different app long time back i tried.
it should work, nut not
Playing audio in background
Posted: Sun Oct 28, 2012 1:18 am
by maxkatz
I think the link you provided is for the native player. The plyaer in Tiggzi is just the standard HTML5 audio element. I'm not sure if there is a way to keep the audio playing when you go to another page.
Playing audio in background
Posted: Sun Oct 28, 2012 1:39 am
by rammohan.acharyadasa
max
I have tried earlier with Html5 audio widget only
it used to play in background
I man when I switch to
emails etc.. audio is used to play in background
pla help me on this
Playing audio in background
Posted: Sun Oct 28, 2012 1:45 am
by maxkatz
If the HTML5 element works.. then what is the problem?
Playing audio in background
Posted: Sun Oct 28, 2012 5:41 am
by rammohan.acharyadasa
i mean to say when I tried using html5 audio widget in different app with different Xcode/ iOS version
it was working fine
but now in my new app Xcode 4.5
iOS 6 it is not working
pls help
Playing audio in background
Posted: Sun Oct 28, 2012 2:01 pm
by rammohan.acharyadasa
This is fixed.
Solution is i need to do same settings in cordova.pslit also
Playing audio in background
Posted: Fri Feb 08, 2013 4:25 am
by Scott Williams
so you used tiggzi's standard html 5 audio player, added Set UIBackgroundModes key in app-info.plis and cordova.pslist, and it worked?
i've tried that and the audio stops if i go to another page or lock the screen. =S
Playing audio in background
Posted: Mon Feb 11, 2013 12:32 pm
by Maryna Brodina
Hello! Did you get it working?
Playing audio in background
Posted: Mon Feb 11, 2013 3:45 pm
by Scott Williams
Playing audio in background
Posted: Tue Feb 12, 2013 9:54 am
by Maryna Brodina
We'll test and I'll let you know about the result.