×

Discussion Board

Results 1 to 3 of 3

Thread: setMediaTime

  1. #1
    Regular Contributor
    Join Date
    Apr 2007
    Posts
    233

    setMediaTime

    Hi all,

    Does Player (Multimedia API) function setMediaTime has worked for anyone? I am using getMediaTime and it is working very well.


    Thanks!!

  2. #2
    Registered User
    Join Date
    Jun 2008
    Posts
    30

    Re: setMediaTime

    Regards everyone,


    There is an issue found in s40 series 5th edition: When the player is in video mode then the setMediaTime(long time); function does not work, important for bookmark fast forward and rewind. I am playing 3gp files.

    The following link does not have details about the above problem, but it specifies other problems in various devices involving player operations.

    http://www.j2meforums.com/wiki/index...nd_Information

    I am trying to find out more, but in the exception handle I have to alert the user about the ff/rew and bookmarking not being supported every time it occurs.

    Surprisingly the native player (Nokia OS) supports the ff/rew feature

    Description of the exception:

    //////////////////////////////
    at com.nokia.mid.impl.isa.mmedia.video.VideoOutImpl.setProperty(VideoOutImpl.java:203)
    at com.nokia.mid.impl.isa.mmedia.MediaOut.setMediaTime(MediaOut.java:327)
    at com.nokia.mid.impl.isa.mmedia.MediaPlayer.doSetMediaTime(MediaPlayer.java:237)
    at com.nokia.mid.impl.isa.mmedia.BasicPlayer.setMediaTime(BasicPlayer.java:658)
    at mid.mc.media.JPlayer.setMediaTime(JPlayer.java:881)
    at mid.mc.media.JPlayer.skip(JPlayer.java:863)
    at mid.mc.media.JPlayer.access$500(JPlayer.java:33)
    at mid.mc.media.JPlayer$3.run(JPlayer.java:753)

    //////////////////////////////

    Please throw some light on what is happening. When the sound is played then the ff/rew works fine.

    Regards

    Abhinav Saxena

  3. #3
    Registered User
    Join Date
    Jun 2008
    Posts
    30

    Re: setMediaTime

    To skip in Video, FramePositioningControl is given.

Similar Threads

  1. setMediaTime and PlayerListener probs
    By henrygps in forum Mobile Java Media (Graphics & Sounds)
    Replies: 1
    Last Post: 2004-07-31, 00:10
  2. SetMediaTime / restarting sounds
    By Danack in forum Mobile Java Media (Graphics & Sounds)
    Replies: 7
    Last Post: 2004-05-17, 10:49

Posting Permissions

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