We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Como saber que o vídeo está em execução ou não?
https://Processing.org/reference/libraries/video/Movie_duration_.html https://Processing.org/reference/libraries/video/Movie_time_.html
E como executá-lo novamente?
https://Processing.org/reference/libraries/video/Movie_play_.html https://Processing.org/reference/libraries/video/Movie_loop_.html
import processing.video.*; int v = 1; Movie movie; void setup() { size(640, 360); background(0); movie = new Movie(this, "transit.mov"); } void movieEvent(Movie m) { m.read(); } void draw() { if(v==2) { movie.play(); image(movie, 0, 0); } if(v==3) { movie.play(); image(movie, 0, 0); } } void mousePressed() { print("v: "+v); if(v==1) print("v: "+v); if(v==2) { print("v: "+v); } v++; }
?
Answers
https://Processing.org/reference/libraries/video/Movie_duration_.html
https://Processing.org/reference/libraries/video/Movie_time_.html
E como executá-lo novamente?
https://Processing.org/reference/libraries/video/Movie_play_.html
https://Processing.org/reference/libraries/video/Movie_loop_.html
?