A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: flv seek

  1. #1
    Senior Member
    Join Date
    Mar 2006
    Posts
    139

    flv seek

    Hello!

    so im loading an flv into an flvplayback component on my stage using:

    Code:
    import mx.video.*;
    myVid.autoPlay = true;
    myVid.contentPath = "swf/video/myvideo.flv";
    myVid.skin = "swf/qxvSkin.swf";
    myVid.autoRewind = false;
    myVid.skinAutoHide=false;
    and then using

    Code:
    on(release){myVid.seek(264.0);}
    to seek to a section of the vid with a button, all works fine!
    but...

    when its online, if the video hasnt buffered up to 264 seconds then it just stalls and breaks everything when i press the button...

    is there a way to get the video to buffer from whatever time i choose to seek to rather than having to buffer the entire thing first...?

    thanks!

  2. #2
    . fruitbeard's Avatar
    Join Date
    Oct 2011
    Posts
    1,780
    Hi,

    Generally you can't watch something until its loaded, having said that, the good people at you toob do it rather nicely.
    You will need to use netStream and read through this page Here

  3. #3
    Senior Member
    Join Date
    Mar 2006
    Posts
    139
    thanks!
    had a read through, unfortunately i dont have access to the server side... and also not using jwplayer...
    and im guessing there is no alternative short of cutting up the flvs into multiple files...

    cheers anyway!

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