1 Reply Latest reply: Sep 14, 2009 1:35 AM by 843851 RSS

    Play video, Help me !

    843851
      Hi all,
      I am trying to open a video file from an Xlet, but i am not able to display it in the screen of emulator.
      I can listen sound of the file (.mpg)... but i cannot see the images.
      Can someone help me?
      Thank you

      This is my code:

      targetVideo = new MediaLocator("file:///D://bailey.mpg");
      try
      {
      player = javax.media.Manager.createPlayer(targetVideo);
      player.addControllerListener(this);
      player.start();
      } catch(Exception e1){
      System.out.println(e1.toString());
      }