A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Too Many FLVs loading

  1. #1
    Junior Member
    Join Date
    Jan 2010
    Posts
    2

    Too Many FLVs loading

    OK, so I have one .swf that references several FLVs in a separate folder. That .swf is embedded several times on one webpage and each one references a different video.

    My only problem is that they all load when the page loads. I would like the first video to load automatically (not play automatically, just load) and the rest to only load when they are clicked.

    I have been trying to control the buffering with JavaScript where the .swf are embedded but have been unsuccessful.

    I have also fooled around with the buffer time parameter of the FLVPlayback component and still no luck.

    If anyone could suggest how they might go about solving this I would be most grateful.

    cheers

  2. #2
    Senior Member
    Join Date
    May 2008
    Posts
    332
    I would suggest using a video player with a playlist rather than embedding several separate players on the page. It looks very unprofessional and to the viewers its irritating to have more than one player going at the same time. Using just one play also eliminates the scrolling down the page that's required if the viewer wants to view other videos.
    http://www.longtailvideo.com/
    and
    http://flowplayer.org/
    for just a couple of suggested players.
    Best wishes,
    Eye for Video
    www.cidigitalmedia.com

  3. #3
    Junior Member
    Join Date
    Jan 2010
    Posts
    2
    I proposed that as a solution, however we currently have a detailed description beside each video to give the viewer the option to scan and read as opposed to watch, and this is something my employer does not want to give up.

    I think I may just develop a player with dynamic text fields for descriptions, and a button that will grab the video onClick.

    thanks for your suggestions though, and i kind of agree with you.

  4. #4
    Senior Member
    Join Date
    May 2008
    Posts
    332
    I'd still suggest going the playlist route. You can hook up a dynamic text field to display the text as well. Here's an example:
    http://www.drheimer.com/video/
    each video comes with complete text transcript (Click to View Transcript button). Select a video and view the transcript to test.
    However, if you choose not to go that route, create a new .swf that has two frames. The first frame is a framegrab of something from the video and a stop action in the frame. A "play" button has actions that gotoAndStop in frame two, which holds the actual video player. That way the video player does not load unless the viewer chooses to go to (frame 2) and view that particular video.
    Best wishes,
    Eye for Video
    www.cidigitalmedia.com

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