ofxHapPlayer icon indicating copy to clipboard operation
ofxHapPlayer copied to clipboard

same video, asynchronous play

Open paul-ferragut opened this issue 3 years ago • 0 comments

I am using hap videos in a particle system, I can draw the same video at different positions but to play it at a different time position doesn't work.

For instance:

player.setPosition(0.1);
player.draw(videoRect.x, videoRect.y, videoRect.width/2, videoRect.height/2);
player.setPosition(0.8);
player.draw(videoRect.width / 2, videoRect.y, videoRect.width / 2, videoRect.height / 2);

draw the video two times but at the same last setPosition.

I have too many particles to load the same video multiple times.

Is there a solution to this problem?

Thank you

paul-ferragut avatar May 28 '21 11:05 paul-ferragut