Adding JavaFX support for digital media playback