Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 3    Views: 54

feraco
Aspiring developer
Profile
Posts: 705
Reg: Jan 23, 2012
nyc
15,050
11/28/13 12:06 PM (11 years ago)

How to add background audio to xib button menu

Hello I am trying to add background audio to the xib button menu. Has anyone done this. if so can you share your wisdom.
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
11/28/13 02:10 PM (11 years ago)
Background audio is controlled from the app delegate so it needs the control panel json to be entered. Now with the new add json you could just copy some from another plugin that allows background audio and paste it into the xib button menu. P.s did the scringo button work for you
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
11/28/13 02:11 PM (11 years ago)
here's the json for a local mp3 "audioFileName":"hello.mp3", "audioNumberOfLoops":"1", "audioStopsOnScreenExit":"1"
 
feraco
Aspiring developer
Profile
Posts: 705
Reg: Jan 23, 2012
nyc
15,050
like
11/28/13 02:18 PM (11 years ago)
Hey ok I will add the json and see if it works. I'm at the thanksgiving table with the fam. This is for a 2.0 project. Scringo chat room can now be accessed by the xib button it works great. I'm looking through your code and still trying to figure out how you connected it to button 5. Let me know what I owe you for your help. Hey if you ever need a cool video made let me know if been making cool videos for apps.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.