video.print

description

Adds the <video> element to the screen.

syntax

getVideo(ELEMENT_NAME).print()

notes

  • Note that if you use play on the Video element without printing it, the video will play anyway in the background.

example(s)


@newVideo("skate", "skate.mp4")
@    .print()
  • Show an interface to play the video file skate.mp4 onto the screen.