audio.print

description

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

syntax

getAudio(ELEMENT_NAME).print()

example(s)


@newAudio("test", "test.mp3")
$    .print()
@    .wait()
  • Adds an interface with buttons to start/stop playing the audio file test.mp3 onto the screen.