Displaying video in j2me

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mani86
    New Member
    • Apr 2007
    • 3

    Displaying video in j2me

    Hi everyone :)
    i am trying to display a video located on a remote server, and im using the folliwing code to do it:

    try
    {

    player = Manager.createP layer(locator);
    player.addPlaye rListener(this) ;

    player.realize( );
    player.prefetch ();

    videoControl = (VideoControl)p layer.getContro l("VideoControl ");
    if(videoControl != null)
    {
    video = (Item)videoCont rol.initDisplay Mode(VideoContr ol.USE_GUI_PRIM ITIVE, null);
    videoControl.se tVisible(true);
    }
    player.start();
    }
    catch(Throwable t)
    {
    reset();
    }


    im sure that this code works because it actually streams the video when it is run on it its own. but when im using this cod from within my application, i can only hear the video, but not see it!!
    can anyone help me out? thanks in advance :)
    mani
  • dhanagana
    New Member
    • May 2007
    • 1

    #2
    Hi

    I am also having a same problem. R u solved the problem means post the solution for this thead. Anybody know about this problem please guide me to solve. In my application also i am getting audio of the video but i am not seeing the video ??? Help...

    Comment

    Working...