need help to learn with JMF


                if(moviePlayer == null){
                        try {
                            System.out.println("s");
                            moviePlayer = Manager.createPlayer(this.getClass().getResource("videos/intro.avi"));
                            moviePlayer.start();


                        } catch (IOException e) {
                            e.printStackTrace();
                        } catch (NoPlayerException e) {
                            e.printStackTrace();
                        } 
             }

I have that code, but when I run my program I see a white blank screen.
I’m using a JPanel and a JFrame with a resolution of 800x600.
I cheked to see that the video was working with the JMStudio.

I still need help :slight_smile:

Could you provide more information?
Does it print the “s” ?
What kind of class is “this” ?
I assume there are no exceptions reported?

You might also try the Java Desktop forums at java.net for more info and exampels. Im mreptty sure JMF is supported by the sun Java Desktop group.

I’ve fixed the problem.