getVideo(id).stop() (since beta 0.3)

Stops the playback of the video and goes back to the start of it, making it impossible to resume from the current position later.


[js highlight=”10″ try=”true”]newVideo(“skate”, “skate.mp4”)
newTimer(“preview”, 2500)

Prints and starts playing the file sentence.mp4 and stops it after 2500ms. It will not be possible to resume playback from there by simply calling play later on.