PennController for IBEX › Forums › Support › Audio stimuli don't play on phones › Reply To: Audio stimuli don't play on phones
April 29, 2021 at 3:08 pm
#6903
Jeremy
Keymaster
OK, if you want to allow replay, then the callback
method is indeed the appropriate one. If you don’t want the bar to appear, just don’t print it at all, as in the linear code. You would get:
newButton("click") .callback(newAudio("py22.wav").play()) .print() .wait() , // additional code waiting for a selection
Does you experience the original problem (the audio not playing) only with an iPhone/iPad, or do you also experience it with, say, Android smartphones? Feel free to share your project with me so I can troubleshoot the issue
Jeremy