audio.printAudio element

getAudio(id).print()

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

Example:

newAudio("test", "test.mp3")
    .print()
    .wait()

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