see other response:
it works fine as long as I don't use
play empty
which is what the docs tell us to use for stopping this on mobile...
instead it causes the crash
if we do
play nadanada
which is, basically as you recommend: passing and empty param.. that
stops the play without crashing
On 9/11/2015 6:06 PM, Brahmanathaswami wrote:
I have the following behavior running in a series of buttons that play
audio which is local to the app.
They work fine on the desktop (OS X) but in iOS if I click on any
button too soon, the app crashes.
I've done some tests and I have to wait at
Play stop..
works on OS X
but not on iOS
but at least the app does not crash... but audio does not stop
So
play nadanada # bogus empty variable
is the way to go (ha!)
Swasti Astu, Be Well!
Brahmanathaswami
Kauai's Hindu Monastery
www.HimalayanAcademy.com
Richard Gaskin wrote:
Brahmana
Brahmanathaswami wrote:
> The documentation says
>
> "play empty" for mobile
>
> so I did not try "Play Stop"
That's one of the remaining funky Dictionary entries. "play" and "play
file" are two different entries, though arguably they should be combined.
The entry for "play file" mentions on
The documentation says
"play empty" for mobile
so I did not try "Play Stop"
BR
Richard Gaskin wrote:
> Further testing uncovered that
>
> play empty
>
> is the culprit... using this command on iOS cause some corruption
> that cause the next request to
>
> play someSoundFile
>
> to crash the
Brahmanathaswami wrote:
> Further testing uncovered that
>
> play empty
>
> is the culprit... using this command on iOS cause some corruption
> that cause the next request to
>
> play someSoundFile
>
> to crash the app.
>
> BUT if you do
>
> play nadanada # a bogus variable with no content.
>
>
Further testing uncovered that
play empty
is the culprit... using this command on iOS cause some corruption that cause
the next request to
play someSoundFile
to crash the app.
BUT if you do
play nadanada # a bogus variable with no content.
the native behavior which causes the player to st
I have the following behavior running in a series of buttons that play
audio which is local to the app.
They work fine on the desktop (OS X) but in iOS if I click on any
button too soon, the app crashes.
I've done some tests and I have to wait at about 5.5 seconds before
clicking again, i