Reference+
Name
pause()
Class
Movie
Description
Pauses a movie during playback. If a movie is started again with play(), it will continue from where it was paused.
Examples
import processing.video.*; Movie myMovie; void setup() { size(200, 200); background(0); myMovie = new Movie(this, "totoro.mov"); myMovie.loop(); } void draw() { background(255); image(myMovie, 0, 0); } void movieEvent(Movie m) { m.read(); } void mousePressed() { myMovie.pause(); } void mouseReleased() { myMovie.play(); }
Syntax
.pause()
Return
void
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.