www.webdeveloper.com
Results 1 to 8 of 8

Thread: help with embedding flash video

  1. #1
    Join Date
    Nov 2006
    Posts
    134

    help with embedding flash video

    I have a larger movie that I want stopped on load with menu controls. I have tried several different things, but the movie is not loading properly. I have gotten it to start automatically on page load and with no menu, but for some reason it isn't loading those other options. right now it seems to be trying to download the entire video before it starts. Ideally, I would like the skin to be displayed with the download progress and the first frame of the movie, so the user can start the stream when they want.

    Any help on some nitty gritty code that does the job would be appreciated.

    here are the relevant files.

    page with video object
    swf file for video
    skin for player
    AC_RunActiveContent.js

    Thanks,
    Jason

  2. #2
    Join Date
    Feb 2008
    Location
    NW Washington State
    Posts
    1,856
    Hey Jason,
    What do you mean by menu controls? Will there be a list of some type to choose from or are you referring to the video controls, like play, pause, etc.? Do you actually want the movie to download (showing in the progress bar) but the play to pause after the first frame? Kind of like preloading the movie? Or not begin to download until the user hits the play button?

  3. #3
    Join Date
    Nov 2006
    Posts
    134
    What do you mean by menu controls? Will there be a list of some type to choose from or are you referring to the video controls, like play, pause, etc.? Do you actually want the movie to download (showing in the progress bar) but the play to pause after the first frame? Kind of like preloading the movie? Or not begin to download until the user hits the play button?
    Just referring to the simple play, pause etc. Yes download the movie but pause after first frame so it is ready to go if/when the user does want to watch the video.

    Thanks,
    Jason

  4. #4
    Join Date
    Feb 2008
    Location
    NW Washington State
    Posts
    1,856
    Well someone else in the forum had pointed me to this link for preloading assets:
    http://blog.greensock.com/preloadassetmanageras2/
    Since then I’ve found other solutions also to what’s called “preloading”. Just Google it and you’ll be busy for awhile.
    Another option would be to create your player with an image of the first frame of your video in the first frame of the .swf that holds your video player. That makes it look like your movie is there ready to play. Put it on a lower layer than the video, kind of like a background or something like that.
    If your server supports progressive downloading, I wouldn’t think you would really want to download the whole file (preload it) unless the user is actually going to view it. The buffer time should be minimal, and with a progress bar the viewer could see the downloading occurring.
    One point about the first frame of your video that I’ll mention is something I learned the hard way. For Internet videos, I would not recommend having an all black screen as part of the opening frames, (and I LIKE starting my movies with black!). Viewers are probably looking at a black space on the player until the video loads anyway. I found that extending that out over the first few frames exacerbates the viewers impatience. Stick a white title or something in the very first frame so the view knows they are connected. As in the case of your video, the first few moments are black, so showing the first frame while preloading could give the impression that there’s nothing in that black space.
    I’ve had to trim some of the silence before songs which play on mp3 players for the Internet also. With that nice, quiet lead in time, viewers are thinking there’s nothing there.
    Best of luck on your project!

  5. #5
    Join Date
    Nov 2006
    Posts
    134
    Thanks for the link eye for video. I will try and get this worked out today

    S!
    Jason

  6. #6
    Join Date
    Mar 2008
    Posts
    27
    I think you can download the vid before you watch.
    Try searching "flv downloader" on google.com for more info.
    Good luck!

  7. #7
    Join Date
    Mar 2008
    Posts
    27
    I think you can download the vid before you watch.
    Try searching "flv downloader" on google.com for more info.
    Good luck!

  8. #8
    Join Date
    Nov 2006
    Posts
    134
    figured out why the vidoe wasnt playing. i was using to new a player and the server i am on is using the sorenson instead of the newer player.

    i re-encoded the video with sorenson and it works.

    thanks for the help.

    Jason

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles