Yet another blog about WPF, Surface, SL, MVVM, NUI.... - JavaFXIn this blog we talk about WPF, Natural User Interface(NUI), Microsoft Surface, WIndows 7, Multitouch, Touchless, JavaFX, MVVM, patterns, tips, tricks .... and a lot of other things !2024-02-26T15:40:43+01:00Jonathan ANTOINEurn:md5:627146f22bec1346990949372a159bfaDotclearCreate your VideoPlayer with JavaFX, part three(Add a control bar).urn:md5:587ebd079d8e14ec85a72cbd4d95db582008-12-22T16:35:00+01:002009-04-02T00:00:38+02:00JonathanANTOINE@falsemail.comJavaFXformatJavaFXJavaFX scriptlayermedia.durationnodeProgressvideovideo control bar <p>Let's continue pur story about creating our own media player.
You can find a demo of the resulting videoPlayer on this page: demo of the videoPlayer - part 3.
What will we do in our third part ? :
Add a control bar to the videoPlayer
Display the progess of the video in this bar
Add a play/pause button in this bar
Enjoy ourselves!
Add a... <a href="http://blog.lexique-du-net.com/index.php?post/2008/12/22/Create-your-VideoPlayer-with-JavaFX-part-three"><em>Read</em> Create your VideoPlayer with JavaFX, part three(Add a control bar).</a></p>http://blog.lexique-du-net.com/index.php?post/2008/12/22/Create-your-VideoPlayer-with-JavaFX-part-three#comment-formhttp://feeds.feedburner.com/JonathanAntoine/comments/11how do I detect double clic in JavaFX ?urn:md5:15a411397b3aa66c7e8ca44f3306656c2008-12-14T15:49:00+01:002008-12-14T19:18:51+01:00JonathanANTOINE@falsemail.comJavaFXdemodouble clicJavaFXJavaFX scriptswingTimeLine <p>I am currently confronted to this problem: detect double clic in JavaFX.
What I want to do :
When you make a double click, you click twice, so this is what will occurs:
The first click will be catch and the simpleClickAction will be done (because clickCount != 2) ---> I don't want it : this is a double click and I want the simpleClick action... <a href="http://blog.lexique-du-net.com/index.php?post/2008/12/14/how-do-I-detect-double-clic-in-JavaFX"><em>Read</em> how do I detect double clic in JavaFX ?</a></p>http://blog.lexique-du-net.com/index.php?post/2008/12/14/how-do-I-detect-double-clic-in-JavaFX#comment-formhttp://feeds.feedburner.com/JonathanAntoine/comments/10Create your VideoPlayer with JavaFX, part two.urn:md5:02c8323ec5508474f880af58ddec889a2008-12-14T13:13:00+01:002009-04-01T23:59:37+02:00JonathanANTOINE@falsemail.comJavaFXapiJavaFXJavaFX scriptmediaPlayermediaViewMouseButton.PRIMARYMouseEventonMouseEnteredonMouseExitedsuntweenvideo <p>Let's continue pur story about creating our own media player
What will we do in our second part ? :
Display the meta-information of our video.
Create animation and triggers to show it in a non-disturbing way.
Add some triggers to our video : play/pause on click.
Double-clic to resume the video
Enjoy ourselves!
Display the meta-informations... <a href="http://blog.lexique-du-net.com/index.php?post/2008/12/14/Create-your-VideoPlayer-with-JavaFX-part-two"><em>Read</em> Create your VideoPlayer with JavaFX, part two.</a></p>http://blog.lexique-du-net.com/index.php?post/2008/12/14/Create-your-VideoPlayer-with-JavaFX-part-two#comment-formhttp://feeds.feedburner.com/JonathanAntoine/comments/7How I resolve my "MediaUnavailableException"'s problem in JavaFX...urn:md5:7fbecf4794b9614dcdf10333491055552008-12-10T19:23:00+01:002008-12-10T20:43:27+01:00JonathanANTOINE@falsemail.comJavaFXexceptionjavaJavaFXjmcmediaMediaUnavailableExceptionvideo <p>hey,
In my first try to create a videoPlayer I always get an exception trying to play a media which are on my local hard disk.
The problem
I was trying to execute this media :
var mediaURL : String = "file://C:/tchou.flv";
But it generates me logs like this one :
FX Media Object caught Exception com.sun.media.jmc.MediaUnavailableException:... <a href="http://blog.lexique-du-net.com/index.php?post/2008/12/10/How-I-resolve-my-MediaUnavailableException-s-problem-in-JavaFX"><em>Read</em> How I resolve my "MediaUnavailableException"'s problem in JavaFX...</a></p>http://blog.lexique-du-net.com/index.php?post/2008/12/10/How-I-resolve-my-MediaUnavailableException-s-problem-in-JavaFX#comment-formhttp://feeds.feedburner.com/JonathanAntoine/comments/6Create your VideoPlayer with JavaFX, part one.urn:md5:80c4c1e8b3230a095826f6324353e5c22008-12-09T19:18:00+01:002009-04-02T00:00:08+02:00JonathanANTOINE@falsemail.comJavaFXcustomcustomNodeJavaFXmediaMediaComponentmediaPlayermediaViewvideo <p>I noticed in this post that the mediaComponent pointed out in the JavaFX demos was not still available and that we will so make our own...
Lets start !
What will we do in our first part ? :
Create our custom node MyMediaComponent
Add the video in our component
Enjoy ourselfs!
Create our custom node: MyMediaComponent
The first thing... <a href="http://blog.lexique-du-net.com/index.php?post/2008/12/09/Create-your-VideoPlayer-with-JavaFX-part-one"><em>Read</em> Create your VideoPlayer with JavaFX, part one.</a></p>http://blog.lexique-du-net.com/index.php?post/2008/12/09/Create-your-VideoPlayer-with-JavaFX-part-one#comment-formhttp://feeds.feedburner.com/JonathanAntoine/comments/5You could use the JavaFX Media Component.... Yes but where is it ?urn:md5:8a1bbe1035dffc3433b3301579cb6f302008-12-08T09:03:00+01:002009-02-06T17:03:35+01:00JonathanANTOINE@falsemail.comJavaFXcom.sun.fxmediacomponentfxmediacomponentJavaFXJavaFX scriptNetbeansplayersampleSunvideo <p>Have you been trying all the wonderful demo on on the JavaFX web site ?
Yes ? Me too !
You can try the "Simple Video Player" for example :
It's great but when I tried to reproduce the video player i meet a little problem.
It tells "You could use the JavaFX Media Component, a prefabricated video player in the com.sun.fxmediacomponent... <a href="http://blog.lexique-du-net.com/index.php?post/2008/12/08/You-could-use-the-JavaFX-Media-Component-Yes-but-where-is-it"><em>Read</em> You could use the JavaFX Media Component.... Yes but where is it ?</a></p>http://blog.lexique-du-net.com/index.php?post/2008/12/08/You-could-use-the-JavaFX-Media-Component-Yes-but-where-is-it#comment-formhttp://feeds.feedburner.com/JonathanAntoine/comments/4Deploy a JavaFX app as an applet with the Java Deployement Toolkit... (Updated twice)urn:md5:bd919a892ba549376b2cc777d43de94b2008-12-08T01:04:00+01:002008-12-22T18:08:50+01:00JonathanANTOINE@falsemail.comJavaFXappjarJavaFXJavaFX scriptjnlpMainJavaFXScriptNetbeansScriptwebStart <p>Yesterday I tried to write my first JavaFX... I Found it quite easy.... It's name was "VideoPlayer".
But when I tried to put it on a web page and deploy it as an java Applet it became a Nightmare !
First I tried to use the code Netbeans give me in my 'dist' folder... It worked well on my computer but not when I putted it on my web site...
I... <a href="http://blog.lexique-du-net.com/index.php?post/2008/12/08/Deploy-a-JavaFX-app-as-an-applet-with-the-Java-Deployement-Toolkit"><em>Read</em> Deploy a JavaFX app as an applet with the Java Deployement Toolkit... (Updated twice)</a></p>http://blog.lexique-du-net.com/index.php?post/2008/12/08/Deploy-a-JavaFX-app-as-an-applet-with-the-Java-Deployement-Toolkit#comment-formhttp://feeds.feedburner.com/JonathanAntoine/comments/3