youtube.pause
description
Pauses the video.
syntax
getYoutube(ELEMENT_NAME).pause()
example(s)
@newYoutube("mcgurk", "aFPtc8BVdJk")
@ .print()
@ .play()
@,
@newTimer("preview", 1000)
@ .start()
@ .wait()
@,
@getYoutube("mcgurk")
$ .pause()
- Starts playing a mind-blowing video demonstrating the McGurk effect, waits 1 second and pauses the video.