Adding other video codecs / DVD support to JavaFX 2.2

Believe me, I feel and know your frustration. I have pondered this for a while, but I had to use un-straight means of solving my issues.

There are many ways around this, each with limitations but depends on what works for you:

  1. Docs say WebView works with HTML5, which plays videos supported on the platform (Though sadly not flash). If using a webview to play video works for you, you can try this out. You can even draw over it with other nodes.

  2. Portable VLC Player! If maybe you’re developing some sort of projector/director app and you want fullscreen video, you can have portable VLC player play the video in fullscreen in one screen with it’s controls in the other. Used this solution and it works quite well for mac and windows. 🙂
    Only thing is you can’t draw nodes on the video as it’s an external app, with just the illusion of fullscreen video of your app.

  3. If you ever need to utilize the power of flash within your javafx 2.0 application, then use a swt-based browser(or something Like the DJ Project if you’re a Swinger) as they support all features of your native browser.

Leave a Comment