I need to add a video to an application. The video is supposed to start playing when a fiducial is placed in front of the camera. For some reason, the sound of the video is played but the video itself is not displayed.
After a lot of research, I found out that GSMovie opens a new window, not showing within the Processing canvas. Itried to implement GSPipeline but it didn't work. throwing me an exception.
I managed to make it load completelly if it is called when the application is first started, however for some weird reason the same method is creating me the problem mentioned above when being called at some other stage.
I beleive GSMovie is conflicting with something else which is already loaded. I think that if I could 'clear the buffer/cache' or 'unload every component' before loading the video, then the video would be displayed properly.
How can I unload all other components(Minim/PImages/AudioPlayer/etc..etc...) before I play the video?
I ve been trying for hours and hours and appreciate any help.