getVideo(id).pause()
(since beta 0.3)
Pauses the video file.
Example:
[js highlight=”10″ try=”true”]
newVideo(“sentence”, “skate.mp4”)
.print()
.play()
,
newTimer(“preview”, 2500)
.start()
.wait()
,
getVideo(“sentence”)
.pause()[/js]
Starts playing the file skate.mp4 and pauses it after 2500ms.