Hi, my problem is that I want to play one video on top of the other, but then I can’t get the previous video to stop looping. Here’s some of my code. It works for the very first video (not shown in the code) but when I try to implement it on other videos such as video2 and video3, the loop keeps going.
void ofApp::draw(){
remember.draw();
video.draw(60, 150, 600, 400);
if(remember.clicked == true){
}else{
video2.draw(60,150,600,400);
video2.play();
video2.setLoopState(OF_LOOP_NONE);
remember2.draw();
}
if(remember2.clicked == true){
}else{
video3.draw(60,150,600,400);
video3.play();
video3.setLoopState(OF_LOOP_NONE);
remember3.draw();
}