video.pause
description
Pauses the video file.
syntax
getVideo(ELEMENT_NAME).pause()
example(s)
@
@newVideo("sentence", "skate.mp4")
@ .print()
@ .play()
@,
@newTimer("preview", 2500)
@ .start()
@ .wait()
@,
@getVideo("sentence")
$ .pause()
- Starts playing the file skate.mp4 and pauses it after 2500ms.