video.remove

description

Removes the <video> element from the screen.

syntax

getVideo(ELEMENT_NAME).remove()

example(s)


@
@newVideo("skate", "skate.mp4")
@    .print()
@    .wait()
@,
@getVideo("skate")
$    .remove()
  • Adds the video ksate.mp4 onto the screen, and removes it from the screen after the video has been fully played.