I am able to play a .mpg file over http but when using the latest release of fobs4jmf for playing a .flv video file, I get this exception:
Unable to create the audioPlayer :javax.media.NoPlayerException:
Cannot find a Player for :http://localhost/FlashVid.flv
Exception in thread "main" java.lang.NullPointerException
This file runs perfectly when used as a local file using
URL url=new URL("file",null,"D:/Samples/FlashVideo.flv");
but the exception occurs when using
URL url=new URL("http://FlashVideo.flv"); // where the file is in the DocumentRoot of Apache web server
What am I missing?
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am able to play a .mpg file over http but when using the latest release of fobs4jmf for playing a .flv video file, I get this exception:
Unable to create the audioPlayer :javax.media.NoPlayerException:
Cannot find a Player for :http://localhost/FlashVid.flv
Exception in thread "main" java.lang.NullPointerException
This file runs perfectly when used as a local file using
URL url=new URL("file",null,"D:/Samples/FlashVideo.flv");
but the exception occurs when using
URL url=new URL("http://FlashVideo.flv"); // where the file is in the DocumentRoot of Apache web server
What am I missing?
Thanks
Hey, I have the same problem, tried already various ways.
Has anybody an idea?
thx D.
Try using http://localhost/FlashVideo.flv