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.