Hi Klaus,

yes,

I use the player this way:

   iphoneControlCreate "player", "ioscontrol"
   iphoneControlSet "ioscontrol", "filename", 
"http://www.yoursitecom/audiofolder/audiofile.mp3";
   iphoneControlSet "ioscontrol", "preserveAspect", true
   iphoneControlSet "ioscontrol", "showController", true
   iphoneControlSet "ioscontrol", "visible", true
   iphoneControlSet "ioscontrol", "rect", "0,106,320,106"
   iphoneControlDo "ioscontrol", "play"

Hope this helps,

     Giulio

> 
> Subject: Re: play sound from url on iOS
> Hi all,
> 
> Am 09.04.2012 um 15:35 schrieb Klaus on-rev:
> 
>> Hi friends,
>> 
>> short question, is it possible to play a sound file from an URL in iOS? 
>> If yes, what do I need to use: "play ..." or "iphonePlaySoundOnChannel..."?
>> 
>> The docs do not mention URL, only in the "Video playback" section.
>> 
>> Thanks a lot in advance!
> 
> noone done this before? :-)
> 
> I don't have an iOS license nor an iDevice to check this in the moment!
> 
> 
> Best
> 
> Klaus
> 
> --
> Klaus Major
> http://www.major-k.de
> kl...@major.on-rev.com
> 

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to