A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Get flash video length for timeline

  1. #1
    Senior Member
    Join Date
    Mar 2002
    Posts
    298

    Get flash video length for timeline

    Hi all,

    I want to write a player that can load flvs dynamically and play them, there needs to be a timeline that shows both how much of the movie has been downloaded and lets the user click to skip to the appropriate part.

    The current stumbling block is that there doesn't seem to be a way of obtaining the total length of the video, and no way of knowing how much has been preloaded in time, only bytesLoaded.

    I've written a player for loading mp3s and that's working perfectly, video isn't being so friendly

    Can anyone give me some hints?

  2. #2
    Senior Member
    Join Date
    Mar 2002
    Posts
    298
    Never mind, got it working now using the fairly well hidden onMetaData function.

  3. #3
    AFX == P. Forsberg
    Join Date
    Nov 2001
    Posts
    439

    on metaData

    Hey C4_Tom. I am looking to figure out what the total length of my video is AND how far along it is. THere are no controls for the video and it needs to advance once it is done play. Can this plugin help me with this?

    Thanks,
    1M.

    PS. I assume this is what you found? http://www.buraks.com/flvmdi/

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