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

Link Search Menu Expand Document

audio.remove

description

Removes the <audio> element from the screen, which contained buttons to control playback and volume.

syntax

getAudio(ELEMENT_NAME).remove()

example(s)


@newAudio("beep", "test.mp3")
@    .print()
@    .wait()
@,
@getAudio("beep")
@    .remove()
  • Adds an interface to start/stop playing the audio file test.mp3 onto the screen, and removes it from the screen after the audio has been fully played.