This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JavaFX and the fly likes How To Switch Between Multiple Videos Using One MediaView in Java FX Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JavaFX
Bookmark "How To Switch Between Multiple Videos Using One MediaView in Java FX" Watch "How To Switch Between Multiple Videos Using One MediaView in Java FX" New topic
Author

How To Switch Between Multiple Videos Using One MediaView in Java FX

domingos manuel
Greenhorn

Joined: Sep 24, 2009
Posts: 21
hi there. I am new comer to javafx. I am in love with it though. I've read many sample code and tutorials, but could not yet figure out how can I switch between two or mode video source files using two SwingButtons and only one MediaView. I do bind the Media to the String url source, and in my on replace trigger for the String url source I can successfully assign the new http:// source String to the video. What I am not being able to do is enforce that once the media player stops, it must read the new source file prior to replaying. currently it sops, and then replays the same (the old) source video file. I am in desperate need for help! please...


Domingos Manuel
South Africa
skype: dm.manuel
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How To Switch Between Multiple Videos Using One MediaView in Java FX
 
Similar Threads
How do you include libraries (JMF specifically)?
video streaming...
Play Avi File Using Jmf
Sending video streams to a remote computer
2.0 FadeTransition with MediaView