Missed one day in my daily Processing sketch. Today I worked on making a video kaleidoscope. Can't figure out how to convert Processing to Javascript mode in such a way that it can read and play a movie that is then transformed. This is an animation based on stills, and it lacks the soundtrack. Does anyone know how I can play a pre-recorded movie in Javascript mode?

Code:
import processing.video.*;
float r =0;
Movie movie;

void setup() {
size(640, 480);

// Load and play the video in a loop

movie = new Movie(this, "jumpcut.mov");
movie.loop();

}

void movieEvent(Movie m) {
m.read();
}

void draw() {


translate(width/2,height/2);

rotate(r);
rectMode(CENTER);
image(movie,-mouseX,-mouseY, width,height);
r= r+ 5;
}

Loading more stuff…

Hmm…it looks like things are taking a while to load. Try again?

Loading videos…