audio.print

getAudio(id).print()

Adds the <audio> element to the screen, containing buttons to control playback and volume.

Example:

[js highlight=”2″ try=”true”]newAudio(“test”, “test.mp3”)
.print()
.wait()[/js]

Adds an interface with buttons to start/stop playing the audio file test.mp3 onto the screen.