×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Nokia Developer Champion
    Join Date
    Nov 2007
    Location
    Rome, Italy
    Posts
    2,406

    Video onStatus never called

    Hi,

    I'm using a Video object to play a streaming 3gp video, but have problems making the onStatus handler work: it simply does never get called... I've tested both FL3 developer and release editions, but I obtain the same behaviour.

    Any hints or known issues about this?

    Thanks,
    Pit

  2. #2
    Nokia Developer Champion
    Join Date
    Nov 2007
    Location
    Rome, Italy
    Posts
    2,406

    Re: Video onStatus never called

    Just an update: I've tried using NetStream/NetConnection and play a .flv Video. Doing so, the NetStream onStatus handler nicely works.

    Anyway, this doesn't solve the problem, since with NetStream I'm unable to play .3gp videos, and with the Video onStatus handler I'm unable to get video events...

    ...and so I'm stuck in the middle

  3. #3
    Regular Contributor
    Join Date
    Apr 2003
    Location
    Akron Ohio USA
    Posts
    229

    Re: Video onStatus never called

    in my experience the onStatus event only occurs when the player is finished playing the .3gp content. I have not tested with a rtsp stream.

    Can you post the code you are using?

  4. #4
    Nokia Developer Champion
    Join Date
    Nov 2007
    Location
    Rome, Italy
    Posts
    2,406

    Re: Video onStatus never called

    Sorry for delay of this reply.. Anyway, I'm using the very same code found in FlashLite help docs:
    Code:
    v.onStatus = function(o:Object)
    {
        if ( o.level )
        {
            trace( "Video Status Msg (" + o.level + "): " + o.code );
        }
        else
        {
            trace( "Video Status Error: " + o.code );
        }
    }
    v.play("rtsp://myserver/mymovie.3gp");
    Where v is a video object on stage.

    So, is it impossible to make it work with rtsp streams? If so, how to handle status events with 3gp streaming contents, since NetStream/NetConnection do not support them?

    Any hints would be incredibly useful

    Pit

  5. #5
    Registered User
    Join Date
    Aug 2008
    Posts
    7

    Re: Video onStatus never called

    Hello All

    I noticed that device central no longer supports video.onstatus and was wondering if that meant that it no longer works when the app is on an actual phone also? Someone please help, I don't have a phone to test. Thanks

    nerd

Similar Threads

  1. 6280 video & sound
    By jascco in forum Mobile Java Media (Graphics & Sounds)
    Replies: 14
    Last Post: 2008-10-10, 08:25
  2. Replies: 8
    Last Post: 2008-09-22, 06:34
  3. problems displaying video
    By gorsken in forum Mobile Java Media (Graphics & Sounds)
    Replies: 6
    Last Post: 2006-06-21, 17:18
  4. Play video on Canvas with N 6600 doesnt work. Please help!!!
    By Robert111 in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2006-02-22, 08:45
  5. Simultaneous video rendering - issue SOS
    By arvind_v in forum Streaming and Video
    Replies: 0
    Last Post: 2006-01-04, 15:12

Posting Permissions

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