dcsimg
A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: seeking tutorial, AS3, true streaming video player

  1. #1
    Senior Member
    Join Date
    Apr 2000
    Location
    Minneapolis
    Posts
    2,127

    seeking tutorial, AS3, true streaming video player

    HI,
    I have ben searching without success to find a tutorial for a flash video player that is true streaming for use with a flash media server, not progressive.

    Also it needs to be written in AS3
    NOT use the flash FLVPlayback component
    have: play, pause, rewind and volume control
    plus scrubber bar.

    can anyone point me to one?

    thanks
    Mark

  2. #2
    Senior Member flamedude's Avatar
    Join Date
    Jun 2003
    Location
    Vancouver, BC
    Posts
    252
    Hey,

    I am also having trouble finding anything online regarding this too. Just can't seem to find any tutorials/source on how to get the streaming video to scrub forwards. Loads online about progressive, just none about true streaming.

    Any help would be greatly appreciated.

    Thanks,

    Steven

  3. #3
    Senior Member flamedude's Avatar
    Join Date
    Jun 2003
    Location
    Vancouver, BC
    Posts
    252
    Ah I worked it out. I just needed to get the metadata from the stream to get the duration and my old code works perfectly with that;

    //this is in my connect stream function
    var netClient:Object = new Object();
    netClient.onMetaData = metaData;
    ns.client = netClient;

    //this gets the data from the stream
    function metaData(info:Object):void {
    dur = info.duration;
    fRate = info.framerate;
    totalBytes = info.bytesTotal;
    metaWidth = info.width;
    metaHeight = info.height;
    }

  4. #4
    Senior Member
    Join Date
    Apr 2000
    Location
    Minneapolis
    Posts
    2,127
    Glad you got it sorted, sorry I was so slow to reply, I was out of town.
    I also have it working, sounds like in a very similar way.
    Do you have a site up using the new streaming functions?
    I would be curious to see how it performs.

    I have a temp one up at www.orangefilmworks.com.
    Now working on the expanded version with lots more videos etc.

    mark

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center