Yet another blog about WPF, Surface, SL, MVVM, NUI.... - Tag - mediaIn 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:627146f22bec1346990949372a159bfaDotclearHow 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/5