Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can javaFx do this?

 
Alan Blass
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!

I am considering to use javafx but I need some advice before I start.

1) I am using javafx to display a web page. I am using it to display videos in MPEG-1, 2 and 4 part 10 formats. Audio is required. I am required to play the videos without any user intervention. I need to play several videos one after another, repeating the cycle, also without user intervention. I also need to replace the video with an image file and after a number of seconds, play a video again.

2) I also need to display a ticker tape/scrolling text on screen.

3) I need to display images of jpeg, png and gif formats, one after another, also without user intervention.

4) I need to display all of the above with x-y position options, that means I specify the position on the web page and the size of the videos, images and scrolling text.

5) I need to display the images, videos and text on the same webpage all at the same time.

Can javafx satisfy these criterias?

Thanks for your advice.
 
Rob Spoor
Sheriff
Pie
Posts: 20495
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
2-5 are not a problem; you can do a lot of animated stuff with timers. Not sure about 1 though; the timing is dependent on the length of the videos. Unless you want to hard code these you'll need to have a listener of some kind that will start the next one once the previous one ended.
 
jan dressen
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sounds like you trying to build a really annoying spam-banner

but since you can call plain java code in JavaFX, maybe you can use JMF?

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic