×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Nov 2007
    Posts
    4

    Not able to display

    Hi,

    I have a problem while playing the video file on mobile using MMAPI. I am using S60 3rd edition emulator and N95 device.
    when play it on device, not able to see the video, only audio is coming. I don't know wat is the problem, can anybody help to solve this. this is my code

    InputStream is = this.getClass().getResourceAsStream("/lightning-strikes-close.mp4");
    myPlayer = Manager.createPlayer(is, "video/mp4");
    myPlayer.realize();
    VideoControl vc =(VideoControl)myPlayer.getControl("VideoControl");
    if (vc != null)
    {
    Item it = (Item)vc.initDisplayMode VideoControl.USE_GUI_PRIMITIVE,null);
    myForm.append(it);
    myPlayer.start();
    }

  2. #2
    Registered User
    Join Date
    Nov 2007
    Posts
    6

    Red face Re: Not able to display

    I have the same problem. Can any ONe on here to help us, Hey NOKIA can you help us.

  3. #3
    Nokia Developer Expert
    Join Date
    Aug 2007
    Posts
    1,595

    Re: Not able to display

    Hello haritha_ch,

    try adding prefetch() as follows:

    myPlayer.realize();
    myPlayer.prefetch();
    VideoControl vc =(VideoControl)myPlayer.getControl("VideoControl");

    Regards,
    r2j7

Similar Threads

  1. Recording in Amr Format
    By losym in forum Symbian Media (Closed)
    Replies: 12
    Last Post: 2009-03-26, 06:41
  2. Nokia N-Series Complete Model Line-Up
    By Dopod in forum General Development Questions
    Replies: 6
    Last Post: 2008-07-22, 20:16
  3. Game Developement - Display object on a image background
    By kenkwokkam in forum Mobile Java General
    Replies: 0
    Last Post: 2003-02-08, 14:58
  4. Display synchronisation
    By fnagaton in forum Symbian C++
    Replies: 1
    Last Post: 2003-02-03, 07:40
  5. Display question ...
    By kapot in forum Mobile Java General
    Replies: 0
    Last Post: 2002-10-14, 22:09

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •