Play iTunes audio file using Player?

Getting into LiveCode for iOS? Ask your questions here.

Moderators: heatherlaine, Klaus, FourthWorld, robinmiller, kevinmiller

Post Reply
strongbow
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 118
Joined: Mon Jul 31, 2006 1:39 am
Location: New Zealand, Australia, Germany, Japan
Contact:

Play iTunes audio file using Player?

Post by strongbow » Fri Dec 12, 2014 2:21 pm

Hi there

Is it possible to play an iTunes library audio file using the "player" object on iOS?

Doesn't seem to be, or at least not obvious to me.

Any help appreciated.

cheers

Alan

Klaus
Posts: 10171
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Play iTunes audio file using Player?

Post by Klaus » Fri Dec 12, 2014 2:28 pm

Hi Alan,

1. I will move this thread to the iOS section, since thit is definitively NOT MobGUI related! 8)
2. Check -> mobilePickMedia in the dictionray, I think this is waht you are looking for!


Best

Klaus

strongbow
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 118
Joined: Mon Jul 31, 2006 1:39 am
Location: New Zealand, Australia, Germany, Japan
Contact:

Re: Play iTunes audio file using Player?

Post by strongbow » Fri Dec 12, 2014 2:49 pm

Hi Klaus

I know mobilePickMedia. That's not the point. mobilePickMedia returns a pointer URI to the selected file. The question is how to play this file - the docs say use "mobilePlaySoundOnChannel" in iOS but this does not work. Using the "play" command does in fact work. But does not offer the flexibility that the channel solutions offer. Someone else, somewhere, had mentioned using the mobile player object for audio, so I was wondering if that were possible (and I was using mobGUI, as it happened, to make the player object). But, yes, it's an iOS question, so feel free to move it there.. though I've already asked on the Use list with no response... and have logged a bug report.

Anyway, good to know that someone's reading...! ;-)

cheers

Alan

maxs
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 402
Joined: Sat Jun 24, 2006 12:02 am
Contact:

Re: Play iTunes audio file using Player?

Post by maxs » Tue Feb 14, 2017 8:38 am

I have not gotten any response either, and it 2017 now. DId you ever get a response?

Post Reply

Return to “iOS Deployment”