Hello, I can’t play video on my phone, but the picture is working, I don’t know what I did wrong I have looked at other forums but quite old ones I would be glad if you could help. HERE IS MY CODE
import processing.video.*;
Movie mov;
int timer=1500;
void setup() {
size(displayWidth,displayHeight);
mov=new Movie(this,“anime1.mp4”);
}
void draw() {
background(0);
page3();
}
void page3() {
image(mov,0,0,width,height/2);
fill(255);
textSize(50);
text(“John Doe, Yedi Olumcul Gunahtan Birini Isledikleri Icin Suclulari \n Cezalandirir. Once Pesine Dustugu Kurban Hangi Gunahtan Suclu?”, 0, height/2+100);
if (mouseX>50 && mouseY>height/2+400 && mouseX<350 && mouseY<height/2+550 && mousePressed==true ) {
rect(50, height/2+400, 300, 150);
rect(width/2-130, height/2+400, 300, 150);
rect(width/2+400, height/2+400, 300, 150);
setup();
} else if (mouseX>width/2-130 && mouseY>height/2+400 && mouseX<width/2+170 && mouseY<height/2+550 && mousePressed==true) {
rect(50, height/2+400, 300, 150);
rect(width/2-130, height/2+400, 300, 150);
rect(width/2+400, height/2+400, 300, 150);
setup();
} else if (mouseX>width/2+400 && mouseY>height/2+400 && mouseX<width/2+700 && mouseY<height/2+550 && mousePressed==true) {
rect(50, height/2+400, 300, 150);
rect(width/2-130, height/2+400, 300, 150);
rect(width/2+400, height/2+400, 300, 150);
setup();
} else {
fill(0);
stroke(255);
rect(50, height/2+400, 300, 150);
rect(width/2-130, height/2+400, 300, 150);
rect(width/2+400, height/2+400, 300, 150);
fill(255);
text(“Kibir”, 145, height/2+488);
text(“Tembellik”, width/2-70,height/2+488);
text(“Kiskanclik”, width/2+450, height/2+488);
textSize(60);
text("KALAN SANIYE : "+timer/100.0,420,height/2+900);
timer–;
}
}