Name

play()

Class

Movie

Description

Plays a movie one time and stops at the last frame.

Examples

  • import processing.video.*;
    Movie myMovie;
    
    void setup() {
      size(200, 200);
      myMovie = new Movie(this, "totoro.mov");
      myMovie.play();
    }
    
    void draw() {
      image(myMovie, 0, 0);
    }
    
    void movieEvent(Movie m) {
      m.read();
    }
    
    

Syntax

  • .play()

Return

  • void