rammohan.acharyadasa
Posts: 0
Joined: Thu Apr 05, 2012 5:03 pm

Playing audio in background

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
Image

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Playing audio in background

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.

rammohan.acharyadasa
Posts: 0
Joined: Thu Apr 05, 2012 5:03 pm

Playing audio in background

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

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Playing audio in background

If the HTML5 element works.. then what is the problem?

rammohan.acharyadasa
Posts: 0
Joined: Thu Apr 05, 2012 5:03 pm

Playing audio in background

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

rammohan.acharyadasa
Posts: 0
Joined: Thu Apr 05, 2012 5:03 pm

Playing audio in background

This is fixed.
Solution is i need to do same settings in cordova.pslit also

Scott Williams
Posts: 0
Joined: Sun Jan 13, 2013 1:57 am

Playing audio in background

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

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

Playing audio in background

Hello! Did you get it working?

Scott Williams
Posts: 0
Joined: Sun Jan 13, 2013 1:57 am

Playing audio in background

nope. =(

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

Playing audio in background

We'll test and I'll let you know about the result.

Return to “Issues”