Results 1 to 1 of 1
Thread: jmf Problem
- 06-28-2010, 10:51 AM #1
Member
- Join Date
- Apr 2010
- Posts
- 51
- Rep Power
- 0
jmf Problem
hello every one
I am going to create a small project for playing video and audio file in java netbeans.
But i dont know where i have to start.I download jmf from sun and add all jar file in library
1>customizer.jar
2>mediaplayer.jar
3>jmf.jar
But when i write code then it gives error on createRealizedPlayer line my code is that
[String mediaurl=jTextField1.getText();
try
{
Player mediaPlayer = Manager.createRealizedPlayer(mediaurl); Component video = mediaPlayer.getVisualComponent();
Component controls = mediaPlayer.getControlPanelComponent();
mediaPlayer.start();
}
catch (NoPlayerException noPlayerException)
{
System.err.println( "No media player found" );
}]
Please give me the reason of this error .And if you have any suggestion about playing video in java application then please tell me
Thank You


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks