Is there any way to play flash in javafx WebView?


Question

I need to play video content from web in my javafx app(for win), could i solve this prolem with WebView or is there any other suitable control?

1
1
10/25/2012 5:15:26 PM

Accepted Answer

No, WebView does not support flash playback.

You could try the Flash Player from the DJ project Native Swing components. (This is not a recommendation for that project, I have never used it).

Or, you can use HostServices.showDocument to open a browser to play the flash content, letting the browser worry about guiding the user through obtaining the appropriate plugin.

5
10/25/2012 5:46:29 PM

Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow
Icon