Audio Control on Mobile?

Alan Stenhouse alanstenhouse at hotmail.com
Sun May 15 08:12:25 EDT 2022


Hi Dan,

Check out mobilePlaySoundOnChannel in the dictionary and the related commands linked to it.

Don't think there's a player command for mobile, though I may have missed it...!

HTH

cheers,

Alan 

> On 15 May 2022, at 1:30 am, use-livecode-request at lists.runrev.com wrote:
> 
> Date: Fri, 13 May 2022 19:40:11 +0000
> From: Dan Friedman <dan at clearvisiontech.com>
> To: How to use LiveCode <use-livecode at lists.runrev.com>
> Subject: Audio Control on Mobile?
> Message-ID: <395FAC0D-ACA3-463E-AB3A-B932D222C8AE at clearvisiontech.com>
> Content-Type: text/plain; charset="utf-8"
> 
> Hello!   On desktop, there is the player object which is great!   However, it doesn't work on Mobile.  Is there a way to deal with an audio file on mobile (Android and iOS)?   Here's what I need to do:
> 
> - Load an audio file from a server
> - Play the file
> - Pause file
> - Set the cursor (where to play from or jump to)
> - Know when the end of file is reached
> - length of audio file
> - current play position
> - file state (isPlaying or isPaused)
> 
> Thank you in advance!
> 
> -Dan




More information about the use-livecode mailing list