I've been looking for a while now for a dead simple way of embedding a video into my Java Swing GUI. Am I chasing after the wind? Ideally, I would love to have something like:
VideoPlayer video = new VideoPlayer("filename");
frame.getContentPane().add(video);
video.play();
Am I searching for something that doesn't exist? I've developing mainly for linux but with windows in mind as I might try and make my application cross platform in the future.
Addtional information:
- I've looked at JMF before and was unpleased at the amount of code needed before a video could actually be displayed and played. I might visit it again.
- I thought of an embedded browser that would play a video using VLC, but again not the easiest thing ever.
- I have complete control on the format of the videos to be played. They are fixed in number and can be recoded if needed.