A friend of mine has helped me out by giving me some example code on how to play a video using VLC player. However when i try to play a video it will only play if i click anywhere on the VLC window before the small processing window starts up. I'm a complete beginner to all of this so would really appreciate some pointers the code i was given is here
Thanks in advance.
import processing.net.*;
VLC video;
String videoPath = "C:/Documents and Settings/tech-student/My Documents/Downloads/may12_webclip.wmv";