This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JavaFX and the fly likes Playing Video files on javaFx (embedded on html page, and pop-up version) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JavaFX
Bookmark "Playing Video files on javaFx (embedded on html page, and pop-up version)" Watch "Playing Video files on javaFx (embedded on html page, and pop-up version)" New topic
Author

Playing Video files on javaFx (embedded on html page, and pop-up version)

Fabricio Sanchez
Ranch Hand

Joined: Mar 11, 2003
Posts: 33
Hi there,

I want to play video files on my javaFx application.
I converted my video files to fmx files using on2 flix standard (demo version) as it's the only format that is supported on all operating systems.
(I had very little luck encoding to AVI files that could be played by javaFx on Windows).

My application is embedded in a web page but can also be launched (from its jnlp file).
I have a small video that is integrated into my GUI and when the user clicks on it, a bigger window pops-up with a bigger version of the video.

The Problem:
The FXM video files work ok sometimes but most of the time they sporadically crash the application and behave erratically, that is, pause/play/stop don't work and sometimes the sound of the video will play but the image (and application) freezes/crashes.


Does anyone have any suggestions on what to use to play videos within javaFx? I'm not happy with fxm files as they leave a lot to be desired in terms of application robustness and functionality.


Thank you in advance,

Fabricio
Domenico Franzè
Greenhorn

Joined: Aug 09, 2010
Posts: 1
Hi,

also I have the same problem. Were you able to understand what's the problem? Have you solved?

Tanck you,
Domenico
Devaka Cooray
ExamLab Creator
Saloon Keeper

Joined: Jul 29, 2008
Posts: 3019
    
  35

"Dom Fr", please check your private messages regarding an important administrative matter.


Author of ExamLab ExamLab - a free SCJP / OCPJP exam simulator
What would SCJP exam questions look like? -- Home -- Twitter -- How to Ask a Question
Fabricio Sanchez
Ranch Hand

Joined: Mar 11, 2003
Posts: 33
Hi Domenico, unfortunately not.

We are abandoning javaFX at the moment and I've been looking at xuggler to try and implement a java video player as the java media framework wasn't very straight forward...

Fabricio
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Playing Video files on javaFx (embedded on html page, and pop-up version)
 
Similar Threads
path issue regarding tomcat server
Restricting access via url to (video files)folder in application folder present in tomcat webapps
Problem playing swf(flash) files in html/jsp page
Play flash video in Java
Insider's Guide to Mixing Swing and JavaFX