The new PCIbex Farm is here! Be sure to check out all of its new features and changes.

Link Search Menu Expand Document

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.