youtube.play

description

Starts playing the video. If you did not use print before, the video will not be visible on the screen but sound will start playing anyway.

syntax

getYoutube(ELEMENT_NAME).play()

example(s)


@newYoutube("mcgurk", "aFPtc8BVdJk")
@    .print()
$    .play()
@    .wait()
  • Plays a mind-blowing video demonstrating the McGurk effect.