PennController for IBEX › Forums › Support › Audio won't play › Reply To: Audio won't play
June 27, 2020 at 4:43 pm
#5728
![](https://www.pcibex.net/wp-content/uploads/2018/10/IMG_8365-e1540835663655-150x150.jpg)
Keymaster
Hi,
Most browsers will block audio/video autoplay on page load, and will require an interaction with the page before the script can trigger playback. If this is the very first trial of your experiment, just add newButton("Start").print().wait(), immediately before newAudio and it should work (also, you probably want to add something after play() because as it is coded now your trial ends as soon as the audio starts playing).
Jeremy