File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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