Processing Forum
public void setup()
{
size(WIDTH, HEIGHT);
myMovie = new Movie(this, "abc.mp4");
myMovie.play();
}
public void draw()
{
//(WIDTH-myMovie.width)/2
image(myMovie, 0, 0);
}
// Called every time a new frame is available to read
public void movieEvent(Movie m)
{
m.read();
}
I tried to change the filename to a url link which ends with .mp4, but it did not work. Anyone has an idea?